home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tex / macros / contrib / tmacros.sty < prev    next >
LaTeX Document  |  1995-03-15  |  14.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert DirectMusic Style (music/directMusicStyle) ext Unsupported
1% dexvert Microsoft Word Style Sheet (other/microsoftWordStyleSheet) ext Unsupported
1% dexvert KORG File (other/korgFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 0a 25 20 24 49 64 |% \iffal|se.% $Id|
|00000010| 3a 20 74 6d 61 63 72 6f | 73 2e 73 74 79 2c 76 20 |: tmacro|s.sty,v |
|00000020| 31 2e 32 20 31 39 39 35 | 2f 30 31 2f 32 38 20 30 |1.2 1995|/01/28 0|
|00000030| 37 3a 34 38 3a 33 30 20 | 73 77 69 66 74 20 45 78 |7:48:30 |swift Ex|
|00000040| 70 20 24 0a 0a 25 20 20 | 20 74 6d 61 63 72 6f 73 |p $..% | tmacros|
|00000050| 2e 73 74 79 20 20 20 20 | 20 20 20 20 20 20 20 0a |.sty | .|
|00000060| 0a 25 20 20 20 43 6f 70 | 79 72 69 67 68 74 20 28 |.% Cop|yright (|
|00000070| 43 29 20 31 39 39 34 20 | 4d 61 74 74 20 53 77 69 |C) 1994 |Matt Swi|
|00000080| 66 74 20 3c 73 77 69 66 | 74 40 62 75 2e 65 64 75 |ft <swif|t@bu.edu|
|00000090| 3e 0a 0a 25 20 49 6e 20 | 74 68 65 20 6e 65 61 72 |>..% In |the near|
|000000a0| 20 66 75 74 75 72 65 20 | 74 68 69 73 20 63 6f 64 | future |this cod|
|000000b0| 65 20 77 69 6c 6c 20 62 | 65 63 6f 6d 65 20 70 61 |e will b|ecome pa|
|000000c0| 72 74 20 6f 66 20 61 20 | 6c 61 72 67 65 72 20 70 |rt of a |larger p|
|000000d0| 61 63 6b 61 67 65 20 63 | 61 6c 6c 65 64 0a 25 20 |ackage c|alled.% |
|000000e0| 22 73 63 68 6f 6c 61 72 | 22 20 74 68 61 74 20 49 |"scholar|" that I|
|000000f0| 20 77 69 6c 6c 20 72 65 | 6c 65 61 73 65 20 61 6c | will re|lease al|
|00000100| 73 6f 20 75 6e 64 65 72 | 20 74 68 65 20 47 50 4c |so under| the GPL|
|00000110| 2e 20 20 49 20 77 61 6e | 74 20 74 6f 20 6d 61 6b |. I wan|t to mak|
|00000120| 65 20 63 65 72 74 61 69 | 6e 0a 25 20 75 73 65 66 |e certai|n.% usef|
|00000130| 75 6c 20 70 61 72 74 73 | 20 6f 66 20 74 68 65 20 |ul parts| of the |
|00000140| 70 61 63 6b 61 67 65 20 | 61 76 61 69 6c 61 62 6c |package |availabl|
|00000150| 65 20 62 65 66 6f 72 65 | 20 74 68 65 20 77 68 6f |e before| the who|
|00000160| 6c 65 20 70 61 63 6b 61 | 67 65 20 69 73 20 72 65 |le packa|ge is re|
|00000170| 6c 65 61 73 65 64 0a 25 | 20 62 65 63 61 75 73 65 |leased.%| because|
|00000180| 20 49 20 64 6f 6e 27 74 | 20 73 65 65 20 61 6e 79 | I don't| see any|
|00000190| 20 72 65 61 73 6f 6e 20 | 74 6f 20 77 69 74 68 68 | reason |to withh|
|000001a0| 6f 6c 64 20 74 68 65 6d | 2e 20 20 54 68 69 73 20 |old them|. This |
|000001b0| 69 73 20 69 6e 20 6c 69 | 65 75 20 6f 66 20 61 20 |is in li|eu of a |
|000001c0| 62 65 74 61 0a 25 20 72 | 65 6c 65 61 73 65 20 74 |beta.% r|elease t|
|000001d0| 68 61 74 20 77 6f 75 6c | 64 20 6f 6e 6c 79 20 62 |hat woul|d only b|
|000001e0| 65 20 66 72 75 73 74 72 | 61 74 69 6e 67 20 62 65 |e frustr|ating be|
|000001f0| 63 61 75 73 65 20 49 20 | 77 69 6c 6c 20 6e 6f 74 |cause I |will not|
|00000200| 20 68 61 76 65 20 74 69 | 6d 65 20 74 6f 0a 25 20 | have ti|me to.% |
|00000210| 6d 61 69 6e 74 61 69 6e | 20 69 74 20 75 6e 74 69 |maintain| it unti|
|00000220| 6c 20 4d 61 79 20 31 39 | 39 35 2e 20 20 49 66 20 |l May 19|95. If |
|00000230| 79 6f 75 20 66 69 6e 64 | 20 74 68 69 73 20 63 6f |you find| this co|
|00000240| 64 65 20 75 73 65 66 75 | 6c 2c 20 6c 6f 6f 6b 20 |de usefu|l, look |
|00000250| 66 6f 72 20 74 68 65 20 | 77 68 6f 6c 65 0a 25 20 |for the |whole.% |
|00000260| 70 61 63 6b 61 67 65 20 | 61 62 6f 75 74 20 74 68 |package |about th|
|00000270| 61 74 20 74 69 6d 65 2e | 20 20 49 20 77 65 6c 63 |at time.| I welc|
|00000280| 6f 6d 65 20 63 6f 6d 6d | 65 6e 74 73 2c 20 73 75 |ome comm|ents, su|
|00000290| 67 67 65 73 74 69 6f 6e | 73 2c 20 65 74 63 2e 0a |ggestion|s, etc..|
|000002a0| 0a 25 20 20 20 54 68 69 | 73 20 70 72 6f 67 72 61 |.% Thi|s progra|
|000002b0| 6d 20 69 73 20 66 72 65 | 65 20 73 6f 66 74 77 61 |m is fre|e softwa|
|000002c0| 72 65 3b 20 79 6f 75 20 | 63 61 6e 20 72 65 64 69 |re; you |can redi|
|000002d0| 73 74 72 69 62 75 74 65 | 20 69 74 20 61 6e 64 2f |stribute| it and/|
|000002e0| 6f 72 20 6d 6f 64 69 66 | 79 0a 25 20 20 20 69 74 |or modif|y.% it|
|000002f0| 20 75 6e 64 65 72 20 74 | 68 65 20 74 65 72 6d 73 | under t|he terms|
|00000300| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 | of the |GNU Gene|
|00000310| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|00000320| 73 65 20 61 73 20 70 75 | 62 6c 69 73 68 65 64 20 |se as pu|blished |
|00000330| 62 79 0a 25 20 20 20 74 | 68 65 20 46 72 65 65 20 |by.% t|he Free |
|00000340| 53 6f 66 74 77 61 72 65 | 20 46 6f 75 6e 64 61 74 |Software| Foundat|
|00000350| 69 6f 6e 3b 20 65 69 74 | 68 65 72 20 76 65 72 73 |ion; eit|her vers|
|00000360| 69 6f 6e 20 32 20 6f 66 | 20 74 68 65 20 4c 69 63 |ion 2 of| the Lic|
|00000370| 65 6e 73 65 2c 20 6f 72 | 0a 25 20 20 20 28 61 74 |ense, or|.% (at|
|00000380| 20 79 6f 75 72 20 6f 70 | 74 69 6f 6e 29 20 61 6e | your op|tion) an|
|00000390| 79 20 6c 61 74 65 72 20 | 76 65 72 73 69 6f 6e 2e |y later |version.|
|000003a0| 0a 0a 25 20 20 20 54 68 | 69 73 20 70 72 6f 67 72 |..% Th|is progr|
|000003b0| 61 6d 20 69 73 20 64 69 | 73 74 72 69 62 75 74 65 |am is di|stribute|
|000003c0| 64 20 69 6e 20 74 68 65 | 20 68 6f 70 65 20 74 68 |d in the| hope th|
|000003d0| 61 74 20 69 74 20 77 69 | 6c 6c 20 62 65 20 75 73 |at it wi|ll be us|
|000003e0| 65 66 75 6c 2c 0a 25 20 | 20 20 62 75 74 20 57 49 |eful,.% | but WI|
|000003f0| 54 48 4f 55 54 20 41 4e | 59 20 57 41 52 52 41 4e |THOUT AN|Y WARRAN|
|00000400| 54 59 3b 20 77 69 74 68 | 6f 75 74 20 65 76 65 6e |TY; with|out even|
|00000410| 20 74 68 65 20 69 6d 70 | 6c 69 65 64 20 77 61 72 | the imp|lied war|
|00000420| 72 61 6e 74 79 20 6f 66 | 0a 25 20 20 20 4d 45 52 |ranty of|.% MER|
|00000430| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 6f 72 20 |CHANTABI|LITY or |
|00000440| 46 49 54 4e 45 53 53 20 | 46 4f 52 20 41 20 50 41 |FITNESS |FOR A PA|
|00000450| 52 54 49 43 55 4c 41 52 | 20 50 55 52 50 4f 53 45 |RTICULAR| PURPOSE|
|00000460| 2e 20 20 53 65 65 20 74 | 68 65 0a 25 20 20 20 47 |. See t|he.% G|
|00000470| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|00000480| 63 20 4c 69 63 65 6e 73 | 65 20 66 6f 72 20 6d 6f |c Licens|e for mo|
|00000490| 72 65 20 64 65 74 61 69 | 6c 73 2e 0a 0a 25 20 20 |re detai|ls...% |
|000004a0| 20 59 6f 75 20 73 68 6f | 75 6c 64 20 68 61 76 65 | You sho|uld have|
|000004b0| 20 72 65 63 65 69 76 65 | 64 20 61 20 63 6f 70 79 | receive|d a copy|
|000004c0| 20 6f 66 20 74 68 65 20 | 47 4e 55 20 47 65 6e 65 | of the |GNU Gene|
|000004d0| 72 61 6c 20 50 75 62 6c | 69 63 20 4c 69 63 65 6e |ral Publ|ic Licen|
|000004e0| 73 65 0a 25 20 20 20 61 | 6c 6f 6e 67 20 77 69 74 |se.% a|long wit|
|000004f0| 68 20 74 68 69 73 20 70 | 72 6f 67 72 61 6d 3b 20 |h this p|rogram; |
|00000500| 69 66 20 6e 6f 74 2c 20 | 77 72 69 74 65 20 74 6f |if not, |write to|
|00000510| 20 74 68 65 20 46 72 65 | 65 20 53 6f 66 74 77 61 | the Fre|e Softwa|
|00000520| 72 65 0a 25 20 20 20 46 | 6f 75 6e 64 61 74 69 6f |re.% F|oundatio|
|00000530| 6e 2c 20 49 6e 63 2e 2c | 20 36 37 35 20 4d 61 73 |n, Inc.,| 675 Mas|
|00000540| 73 20 41 76 65 2c 20 43 | 61 6d 62 72 69 64 67 65 |s Ave, C|ambridge|
|00000550| 2c 20 4d 41 20 30 32 31 | 33 39 2c 20 55 53 41 2e |, MA 021|39, USA.|
|00000560| 0a 0a 25 20 5c 66 69 0a | 0a 25 20 5c 64 61 74 65 |..% \fi.|.% \date|
|00000570| 7b 39 35 2f 30 31 2f 32 | 36 7d 0a 25 20 5c 61 75 |{95/01/2|6}.% \au|
|00000580| 74 68 6f 72 7b 4d 61 74 | 74 20 53 77 69 66 74 20 |thor{Mat|t Swift |
|00000590| 5c 74 65 78 74 74 74 7b | 3c 73 77 69 66 74 40 62 |\texttt{|<swift@b|
|000005a0| 75 2e 65 64 75 3e 7d 7d | 0a 25 20 5c 74 69 74 6c |u.edu>}}|.% \titl|
|000005b0| 65 7b 54 68 65 20 5c 74 | 65 78 74 74 74 7b 74 6d |e{The \t|exttt{tm|
|000005c0| 61 63 72 6f 73 7d 20 70 | 61 63 6b 61 67 65 7d 0a |acros} p|ackage}.|
|000005d0| 25 20 5c 6d 61 6b 65 74 | 69 74 6c 65 0a 0a 25 20 |% \maket|itle..% |
|000005e0| 5c 73 65 63 74 69 6f 6e | 7b 49 6e 74 72 6f 64 75 |\section|{Introdu|
|000005f0| 63 74 69 6f 6e 7d 0a 25 | 20 46 69 72 73 74 20 61 |ction}.%| First a|
|00000600| 20 67 65 6e 65 72 61 6c | 20 64 69 73 63 75 73 73 | general| discuss|
|00000610| 69 6f 6e 2e 0a 0a 25 20 | 5c 74 65 78 74 73 6c 7b |ion...% |\textsl{|
|00000620| 54 65 78 74 20 6d 61 63 | 72 6f 73 7d 20 65 78 70 |Text mac|ros} exp|
|00000630| 61 6e 64 20 74 6f 20 61 | 20 70 69 65 63 65 20 6f |and to a| piece o|
|00000640| 66 20 74 65 78 74 2c 20 | 61 6e 64 20 69 6e 73 65 |f text, |and inse|
|00000650| 72 74 20 74 68 65 20 70 | 72 6f 70 65 72 20 73 70 |rt the p|roper sp|
|00000660| 61 63 65 0a 25 20 66 6f | 6c 6c 6f 77 69 6e 67 2c |ace.% fo|llowing,|
|00000670| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 63 6f | dependi|ng on co|
|00000680| 6e 74 65 78 74 2e 20 20 | 49 66 20 49 20 64 65 66 |ntext. |If I def|
|00000690| 69 6e 65 20 61 20 74 65 | 78 74 20 6d 61 63 72 6f |ine a te|xt macro|
|000006a0| 20 7c 5c 66 6f 6f 7c 20 | 74 6f 20 62 65 0a 25 20 | |\foo| |to be.% |
|000006b0| 5c 6d 65 74 61 7b 74 65 | 78 74 7d 2c 20 49 20 63 |\meta{te|xt}, I c|
|000006c0| 61 6e 20 75 73 65 20 7c | 5c 66 6f 6f 7c 20 69 6e |an use ||\foo| in|
|000006d0| 20 70 6c 61 63 65 20 6f | 66 20 5c 6d 65 74 61 7b | place o|f \meta{|
|000006e0| 74 65 78 74 7d 20 61 6c | 6d 6f 73 74 20 61 6e 79 |text} al|most any|
|000006f0| 77 68 65 72 65 2e 20 20 | 46 6f 72 0a 25 20 64 65 |where. |For.% de|
|00000700| 74 61 69 6c 73 20 6f 66 | 20 68 6f 77 20 74 68 65 |tails of| how the|
|00000710| 20 73 70 61 63 69 6e 67 | 20 69 73 20 68 61 6e 64 | spacing| is hand|
|00000720| 6c 65 64 2c 20 73 65 65 | 20 74 68 65 20 6d 61 63 |led, see| the mac|
|00000730| 72 6f 73 2e 20 20 45 78 | 61 6d 70 6c 65 73 20 74 |ros. Ex|amples t|
|00000740| 68 61 74 20 70 72 6f 64 | 75 63 65 0a 25 20 63 6f |hat prod|uce.% co|
|00000750| 72 72 65 63 74 20 66 6f | 72 6d 61 74 74 69 6e 67 |rrect fo|rmatting|
|00000760| 3a 0a 25 20 5c 62 65 67 | 69 6e 7b 71 75 6f 74 65 |:.% \beg|in{quote|
|00000770| 7d 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |}.% | |
|00000780| 20 20 20 20 20 20 20 7c | 5c 6e 65 77 6e 61 6d 65 | ||\newname|
|00000790| 7b 77 77 7d 7b 57 6f 72 | 64 73 77 6f 72 74 68 7d |{ww}{Wor|dsworth}|
|000007a0| 7c 20 5c 5c 0a 25 20 20 | 20 20 20 20 20 20 20 20 || \\.% | |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 7c 5c 6e 65 77 77 | | |\neww|
|000007c0| 6f 72 6b 7b 70 72 65 6c | 75 64 65 7d 7b 54 68 65 |ork{prel|ude}{The|
|000007d0| 20 50 72 65 6c 75 64 65 | 7d 20 20 20 20 20 20 20 | Prelude|} |
|000007e0| 20 20 20 20 20 25 20 69 | 6e 20 69 74 61 6c 69 63 | % i|n italic|
|000007f0| 7c 0a 25 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 ||.%.% | |
|00000800| 20 20 20 20 20 20 20 20 | 20 7c 54 68 65 20 6d 61 | | |The ma|
|00000810| 6e 75 73 63 72 69 70 74 | 73 20 6f 66 20 5c 77 77 |nuscript|s of \ww|
|00000820| 27 73 20 5c 70 72 65 6c | 75 64 65 20 64 69 66 66 |'s \prel|ude diff|
|00000830| 65 72 7c 5c 6c 64 6f 74 | 73 20 5c 5c 0a 25 20 20 |er|\ldot|s \\.% |
|00000840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000850| 20 20 7c 42 65 66 6f 72 | 65 20 62 65 67 69 6e 6e | |Befor|e beginn|
|00000860| 69 6e 67 20 5c 70 72 65 | 6c 75 64 65 2c 20 5c 77 |ing \pre|lude, \w|
|00000870| 77 20 77 72 6f 74 65 7c | 5c 6c 64 6f 74 73 0a 25 |w wrote||\ldots.%|
|00000880| 20 5c 65 6e 64 7b 71 75 | 6f 74 65 7d 0a 0a 25 20 | \end{qu|ote}..% |
|00000890| 5c 74 65 78 74 73 6c 7b | 41 62 62 72 65 76 69 61 |\textsl{|Abbrevia|
|000008a0| 74 69 6f 6e 20 6d 61 63 | 72 6f 73 7d 20 61 72 65 |tion mac|ros} are|
|000008b0| 20 74 65 78 74 20 6d 61 | 63 72 6f 73 20 74 68 61 | text ma|cros tha|
|000008c0| 74 20 65 78 70 61 6e 64 | 20 74 6f 20 73 6f 6d 65 |t expand| to some|
|000008d0| 74 68 69 6e 67 0a 25 20 | 64 69 66 66 65 72 65 6e |thing.% |differen|
|000008e0| 74 20 74 68 65 20 66 69 | 72 73 74 20 74 69 6d 65 |t the fi|rst time|
|000008f0| 20 74 68 65 79 20 61 72 | 65 20 75 73 65 64 2e 20 | they ar|e used. |
|00000900| 20 49 74 20 69 73 20 65 | 78 70 65 63 74 65 64 20 | It is e|xpected |
|00000910| 74 68 61 74 20 74 68 65 | 20 73 65 63 6f 6e 64 20 |that the| second |
|00000920| 62 65 0a 25 20 61 6e 20 | 61 62 62 72 65 76 69 61 |be.% an |abbrevia|
|00000930| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 69 72 73 |tion of |the firs|
|00000940| 74 2c 20 62 75 74 20 74 | 68 61 74 20 6e 65 65 64 |t, but t|hat need|
|00000950| 20 6e 6f 74 20 62 65 20 | 74 68 65 20 63 61 73 65 | not be |the case|
|00000960| 2e 20 20 45 78 61 6d 70 | 6c 65 73 3a 0a 25 20 5c |. Examp|les:.% \|
|00000970| 62 65 67 69 6e 7b 71 75 | 6f 74 65 7d 0a 25 20 20 |begin{qu|ote}.% |
|00000980| 7c 5c 6e 65 77 6e 61 6d | 65 7b 6e 69 78 6f 6e 7d ||\newnam|e{nixon}|
|00000990| 7b 52 69 63 68 61 72 64 | 20 4d 69 6c 68 6f 75 73 |{Richard| Milhous|
|000009a0| 20 4e 69 78 6f 6e 7d 5b | 4e 69 78 6f 6e 5d 7c 20 | Nixon}[|Nixon]| |
|000009b0| 5c 5c 0a 25 20 20 7c 5c | 6e 65 77 6e 61 6d 65 7b |\\.% |\|newname{|
|000009c0| 6a 65 6b 79 6c 6c 7d 7b | 44 72 2e 7e 48 65 6e 72 |jekyll}{|Dr.~Henr|
|000009d0| 79 20 4a 65 6b 79 6c 6c | 7d 5b 4a 65 6b 79 6c 6c |y Jekyll|}[Jekyll|
|000009e0| 5d 7c 5c 5c 0a 25 20 20 | 7c 5c 6e 65 77 6e 61 6d |]|\\.% ||\newnam|
|000009f0| 65 7b 61 6d 61 7d 7b 41 | 6d 65 72 69 63 61 6e 20 |e{ama}{A|merican |
|00000a00| 4d 65 64 69 63 61 6c 20 | 41 73 73 6f 63 69 61 74 |Medical |Associat|
|00000a10| 69 6f 6e 20 28 41 4d 41 | 29 7d 5b 41 4d 41 5d 7c |ion (AMA|)}[AMA]||
|00000a20| 20 5c 5c 0a 25 20 5c 65 | 6e 64 7b 71 75 6f 74 65 | \\.% \e|nd{quote|
|00000a30| 7d 0a 0a 25 20 48 65 72 | 65 20 61 72 65 20 74 68 |}..% Her|e are th|
|00000a40| 65 20 70 61 72 74 69 63 | 75 6c 61 72 20 63 6f 6d |e partic|ular com|
|00000a50| 6d 61 6e 64 73 2e 20 20 | 46 69 72 73 74 20 74 68 |mands. |First th|
|00000a60| 65 20 70 72 69 6d 69 74 | 69 76 65 20 6f 6e 65 73 |e primit|ive ones|
|00000a70| 2e 0a 0a 25 20 5c 44 65 | 73 63 72 69 62 65 4d 61 |...% \De|scribeMa|
|00000a80| 63 72 6f 7b 5c 4e 65 77 | 54 65 78 74 4d 61 63 72 |cro{\New|TextMacr|
|00000a90| 6f 7d 0a 25 20 7c 5c 4e | 65 77 54 65 78 74 4d 61 |o}.% |\N|ewTextMa|
|00000aa0| 63 72 6f 7c 5c 6d 61 72 | 67 7b 63 6f 6d 6d 61 6e |cro|\mar|g{comman|
|00000ab0| 64 7d 5c 6d 61 72 67 7b | 74 65 78 74 7d 20 64 65 |d}\marg{|text} de|
|00000ac0| 66 69 6e 65 73 20 7c 5c | 7c 5c 6d 65 74 61 7b 63 |fines |\||\meta{c|
|00000ad0| 6f 6d 6d 61 6e 64 7d 20 | 74 6f 20 65 78 70 61 6e |ommand} |to expan|
|00000ae0| 64 0a 25 20 74 6f 20 5c | 6d 65 74 61 7b 74 65 78 |d.% to \|meta{tex|
|00000af0| 74 7d 20 61 6e 64 20 69 | 6e 73 65 72 74 20 74 68 |t} and i|nsert th|
|00000b00| 65 20 72 69 67 68 74 20 | 73 70 61 63 65 20 61 66 |e right |space af|
|00000b10| 74 65 72 20 69 74 2c 20 | 64 65 70 65 6e 64 69 6e |ter it, |dependin|
|00000b20| 67 20 6f 6e 20 63 6f 6e | 74 65 78 74 2e 20 20 54 |g on con|text. T|
|00000b30| 6f 0a 25 20 5c 44 65 73 | 63 72 69 62 65 4d 61 63 |o.% \Des|cribeMac|
|00000b40| 72 6f 7b 5c 73 70 61 63 | 65 62 65 66 6f 72 65 6c |ro{\spac|ebeforel|
|00000b50| 69 73 74 7d 0a 25 20 63 | 6f 6e 74 72 6f 6c 20 62 |ist}.% c|ontrol b|
|00000b60| 65 68 61 76 69 6f 72 20 | 65 78 70 6c 69 63 69 74 |ehavior |explicit|
|00000b70| 6c 79 2c 20 79 6f 75 20 | 63 61 6e 20 73 65 74 20 |ly, you |can set |
|00000b80| 7c 5c 73 70 61 63 65 62 | 65 66 6f 72 65 6c 69 73 ||\spaceb|eforelis|
|00000b90| 74 7c 20 61 6e 61 6c 6f | 67 6f 75 73 6c 79 20 74 |t| analo|gously t|
|00000ba0| 6f 0a 25 20 7c 5c 6e 6f | 63 6f 72 72 6c 69 73 74 |o.% |\no|corrlist|
|00000bb0| 7c 2e 0a 0a 25 20 5c 44 | 65 73 63 72 69 62 65 4d ||...% \D|escribeM|
|00000bc0| 61 63 72 6f 7b 5c 6e 65 | 77 61 62 62 72 65 76 7d |acro{\ne|wabbrev}|
|00000bd0| 0a 25 20 7c 5c 6e 65 77 | 61 62 62 72 65 76 7c 5c |.% |\new|abbrev|\|
|00000be0| 6d 61 72 67 7b 63 6f 6d | 6d 61 6e 64 7d 5c 6d 61 |marg{com|mand}\ma|
|00000bf0| 72 67 7b 69 6e 69 74 69 | 61 6c 20 74 65 78 74 7d |rg{initi|al text}|
|00000c00| 5c 6d 61 72 67 7b 73 75 | 62 73 65 71 75 65 6e 74 |\marg{su|bsequent|
|00000c10| 20 74 65 78 74 7d 20 64 | 65 66 69 6e 65 73 0a 25 | text} d|efines.%|
|00000c20| 20 7c 5c 7c 5c 6d 65 74 | 61 7b 63 6f 6d 6d 61 6e | |\|\met|a{comman|
|00000c30| 64 7d 20 74 6f 20 62 65 | 20 5c 6d 65 74 61 7b 69 |d} to be| \meta{i|
|00000c40| 6e 69 74 69 61 6c 20 74 | 65 78 74 7d 20 28 6c 69 |nitial t|ext} (li|
|00000c50| 6b 65 20 61 20 74 65 78 | 74 20 6d 61 63 72 6f 2c |ke a tex|t macro,|
|00000c60| 20 69 6e 73 65 72 74 69 | 6e 67 20 74 68 65 0a 25 | inserti|ng the.%|
|00000c70| 20 72 69 67 68 74 20 66 | 6f 6c 6c 6f 77 69 6e 67 | right f|ollowing|
|00000c80| 20 73 70 61 63 65 29 20 | 74 68 65 20 66 69 72 73 | space) |the firs|
|00000c90| 74 20 74 69 6d 65 20 69 | 74 20 69 73 20 75 73 65 |t time i|t is use|
|00000ca0| 64 2c 20 61 6e 64 20 5c | 6d 65 74 61 7b 73 75 62 |d, and \|meta{sub|
|00000cb0| 73 65 71 75 65 6e 74 20 | 74 65 78 74 7d 0a 25 20 |sequent |text}.% |
|00000cc0| 73 75 62 73 65 71 75 65 | 6e 74 6c 79 2e 20 20 54 |subseque|ntly. T|
|00000cd0| 6f 20 75 73 65 20 6f 6e | 65 20 6f 72 20 74 68 65 |o use on|e or the|
|00000ce0| 20 6f 74 68 65 72 20 69 | 6e 20 61 20 70 61 72 74 | other i|n a part|
|00000cf0| 69 63 75 6c 61 72 20 63 | 69 72 63 75 6d 73 74 61 |icular c|ircumsta|
|00000d00| 6e 63 65 2c 20 74 68 65 | 0a 25 20 63 6f 6d 6d 61 |nce, the|.% comma|
|00000d10| 6e 64 73 20 7c 5c 7c 5c | 6d 65 74 61 7b 63 6f 6d |nds |\|\|meta{com|
|00000d20| 6d 61 6e 64 7d 7c 73 68 | 6f 72 74 7c 20 61 6e 64 |mand}|sh|ort| and|
|00000d30| 20 7c 5c 7c 5c 6d 65 74 | 61 7b 63 6f 6d 6d 61 6e | |\|\met|a{comman|
|00000d40| 64 7d 7c 6c 6f 6e 67 7c | 20 61 72 65 20 61 6c 73 |d}|long|| are als|
|00000d50| 6f 0a 25 20 64 65 66 69 | 6e 65 64 2e 0a 25 20 5c |o.% defi|ned..% \|
|00000d60| 44 65 73 63 72 69 62 65 | 4d 61 63 72 6f 7b 5c 41 |Describe|Macro{\A|
|00000d70| 62 62 72 65 76 4c 6f 6e | 67 53 75 66 66 69 78 7d |bbrevLon|gSuffix}|
|00000d80| 0a 25 20 5c 44 65 73 63 | 72 69 62 65 4d 61 63 72 |.% \Desc|ribeMacr|
|00000d90| 6f 7b 5c 41 62 62 72 65 | 76 53 68 6f 72 74 53 75 |o{\Abbre|vShortSu|
|00000da0| 66 66 69 78 7d 0a 25 20 | 28 59 6f 75 20 63 61 6e |ffix}.% |(You can|
|00000db0| 20 63 68 61 6e 67 65 20 | 74 68 6f 73 65 20 73 75 | change |those su|
|00000dc0| 66 66 69 78 65 73 20 62 | 79 20 73 65 74 74 69 6e |ffixes b|y settin|
|00000dd0| 67 20 7c 5c 41 62 62 72 | 65 76 53 68 6f 72 74 53 |g |\Abbr|evShortS|
|00000de0| 75 66 66 69 78 7c 20 61 | 6e 64 0a 25 20 7c 5c 41 |uffix| a|nd.% |\A|
|00000df0| 62 62 72 65 76 4c 6f 6e | 67 53 75 66 66 69 78 7c |bbrevLon|gSuffix||
|00000e00| 2e 29 0a 0a 25 20 5c 44 | 65 73 63 72 69 62 65 4d |.)..% \D|escribeM|
|00000e10| 61 63 72 6f 7b 5c 52 65 | 73 65 74 41 62 62 72 65 |acro{\Re|setAbbre|
|00000e20| 76 73 7d 0a 25 20 43 61 | 6c 6c 69 6e 67 20 7c 5c |vs}.% Ca|lling |\|
|00000e30| 52 65 73 65 74 41 62 62 | 72 65 76 73 7c 20 73 74 |ResetAbb|revs| st|
|00000e40| 61 72 74 73 20 61 6c 6c | 20 74 68 65 20 61 62 62 |arts all| the abb|
|00000e50| 72 65 76 69 61 74 69 6f | 6e 20 6d 61 63 72 6f 73 |reviatio|n macros|
|00000e60| 20 6f 76 65 72 20 61 67 | 61 69 6e 3b 20 74 68 65 | over ag|ain; the|
|00000e70| 69 72 0a 25 20 6e 65 78 | 74 20 6f 63 63 75 72 72 |ir.% nex|t occurr|
|00000e80| 65 6e 63 65 20 77 69 6c | 6c 20 62 65 20 74 68 65 |ence wil|l be the|
|00000e90| 20 60 60 66 69 72 73 74 | 2e 27 27 20 20 54 68 69 | ``first|.'' Thi|
|00000ea0| 73 20 63 6f 6d 6d 61 6e | 64 20 63 6f 75 6c 64 20 |s comman|d could |
|00000eb0| 62 65 20 70 75 74 20 69 | 6e 20 74 68 65 0a 25 20 |be put i|n the.% |
|00000ec0| 63 68 61 70 74 65 72 20 | 68 6f 6f 6b 2e 0a 0a 25 |chapter |hook...%|
|00000ed0| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 75 | The fol|lowing u|
|00000ee0| 73 65 72 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ser comm|ands are|
|00000ef0| 20 70 72 6f 76 69 64 65 | 64 2e 0a 0a 25 20 5c 44 | provide|d...% \D|
|00000f00| 65 73 63 72 69 62 65 4d | 61 63 72 6f 7b 5c 6e 65 |escribeM|acro{\ne|
|00000f10| 77 62 6f 6f 6b 7d 0a 25 | 20 7c 5c 6e 65 77 62 6f |wbook}.%| |\newbo|
|00000f20| 6f 6b 7c 5c 6d 61 72 67 | 7b 63 6f 6d 6d 61 6e 64 |ok|\marg|{command|
|00000f30| 7d 5c 6d 61 72 67 7b 74 | 65 78 74 7d 5c 6f 61 72 |}\marg{t|ext}\oar|
|00000f40| 67 5b 61 62 62 72 65 76 | 5d 20 64 65 66 69 6e 65 |g[abbrev|] define|
|00000f50| 73 20 7c 5c 7c 5c 6d 65 | 74 61 7b 63 6f 6d 6d 61 |s |\|\me|ta{comma|
|00000f60| 6e 64 7d 20 74 6f 0a 25 | 20 62 65 20 61 20 74 65 |nd} to.%| be a te|
|00000f70| 78 74 20 6d 61 63 72 6f | 20 77 69 74 68 20 65 6d |xt macro| with em|
|00000f80| 70 68 61 73 69 7a 65 64 | 20 74 65 78 74 2e 20 20 |phasized| text. |
|00000f90| 49 66 20 61 6e 20 6f 70 | 74 69 6f 6e 61 6c 20 61 |If an op|tional a|
|00000fa0| 72 67 75 6d 65 6e 74 20 | 69 73 20 67 69 76 65 6e |rgument |is given|
|00000fb0| 2c 20 69 74 0a 25 20 64 | 65 66 69 6e 65 73 20 61 |, it.% d|efines a|
|00000fc0| 6e 20 61 62 62 72 65 76 | 69 61 74 69 6f 6e 20 77 |n abbrev|iation w|
|00000fd0| 69 74 68 20 65 6d 70 68 | 61 73 69 7a 65 64 20 74 |ith emph|asized t|
|00000fe0| 65 78 74 2e 0a 0a 25 20 | 5c 44 65 73 63 72 69 62 |ext...% |\Describ|
|00000ff0| 65 4d 61 63 72 6f 7b 5c | 6e 65 77 77 6f 72 6b 7d |eMacro{\|newwork}|
|00001000| 0a 25 20 7c 5c 6e 65 77 | 77 6f 72 6b 7c 20 69 73 |.% |\new|work| is|
|00001010| 20 61 6e 20 61 6c 69 61 | 73 20 66 6f 72 20 61 20 | an alia|s for a |
|00001020| 7c 5c 6e 65 77 62 6f 6f | 6b 7c 20 61 74 20 74 68 ||\newboo|k| at th|
|00001030| 65 20 6d 6f 6d 65 6e 74 | 2e 20 49 6e 20 74 68 65 |e moment|. In the|
|00001040| 20 66 75 74 75 72 65 2c | 0a 25 20 60 60 77 6f 72 | future,|.% ``wor|
|00001050| 6b 73 27 27 20 77 69 6c | 6c 20 62 65 20 64 69 73 |ks'' wil|l be dis|
|00001060| 74 69 6e 67 75 69 73 68 | 65 64 20 66 72 6f 6d 20 |tinguish|ed from |
|00001070| 62 6f 6f 6b 73 20 62 79 | 20 62 65 69 6e 67 20 6c |books by| being l|
|00001080| 69 73 74 65 64 20 69 6e | 20 61 20 73 65 70 61 72 |isted in| a separ|
|00001090| 61 74 65 0a 25 20 62 69 | 62 6c 69 6f 67 72 61 70 |ate.% bi|bliograp|
|000010a0| 68 79 2c 20 65 2e 67 2e | 2c 20 6f 66 20 70 72 69 |hy, e.g.|, of pri|
|000010b0| 6d 61 72 79 20 77 6f 72 | 6b 73 20 77 68 69 63 68 |mary wor|ks which|
|000010c0| 20 61 72 65 20 72 65 66 | 65 72 72 65 64 20 74 6f | are ref|erred to|
|000010d0| 20 62 79 20 73 68 6f 72 | 74 20 74 69 74 6c 65 73 | by shor|t titles|
|000010e0| 2e 0a 25 20 54 68 65 20 | 64 65 66 69 6e 69 6e 67 |..% The |defining|
|000010f0| 20 63 6f 6d 6d 61 6e 64 | 20 77 69 6c 6c 20 74 68 | command| will th|
|00001100| 65 6e 20 6e 65 65 64 20 | 74 6f 20 74 61 6b 65 20 |en need |to take |
|00001110| 61 20 42 69 62 5c 54 65 | 58 5c 20 6b 65 79 20 61 |a Bib\Te|X\ key a|
|00001120| 73 20 61 6e 20 61 72 67 | 75 6d 65 6e 74 0a 25 20 |s an arg|ument.% |
|00001130| 61 6c 73 6f 2e 20 20 54 | 68 65 20 66 69 72 73 74 |also. T|he first|
|00001140| 20 75 73 65 20 6f 66 20 | 74 68 65 20 77 6f 72 6b | use of |the work|
|00001150| 20 77 69 6c 6c 20 73 65 | 72 76 65 20 61 73 20 61 | will se|rve as a|
|00001160| 20 63 69 74 61 74 69 6f | 6e 20 74 6f 20 74 68 61 | citatio|n to tha|
|00001170| 74 0a 25 20 62 69 62 6c | 69 6f 67 72 61 70 68 79 |t.% bibl|iography|
|00001180| 2c 20 61 6e 64 20 61 6c | 6c 20 75 73 65 73 20 6f |, and al|l uses o|
|00001190| 66 20 74 68 65 20 77 6f | 72 6b 20 77 69 6c 6c 20 |f the wo|rk will |
|000011a0| 67 65 6e 65 72 61 74 65 | 20 61 6e 20 69 6e 64 65 |generate| an inde|
|000011b0| 78 20 65 6e 74 72 79 2e | 20 0a 0a 25 20 5c 44 65 |x entry.| ..% \De|
|000011c0| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 6e 65 77 |scribeMa|cro{\new|
|000011d0| 6e 61 6d 65 7d 0a 25 20 | 7c 5c 6e 65 77 6e 61 6d |name}.% ||\newnam|
|000011e0| 65 7c 5c 6d 61 72 67 7b | 63 6f 6d 6d 61 6e 64 7d |e|\marg{|command}|
|000011f0| 5c 6d 61 72 67 7b 6e 61 | 6d 65 7d 5c 6d 61 72 67 |\marg{na|me}\marg|
|00001200| 7b 61 62 62 72 65 76 7d | 20 64 65 66 69 6e 65 73 |{abbrev}| defines|
|00001210| 20 7c 5c 7c 5c 6d 65 74 | 61 7b 63 6f 6d 6d 61 6e | |\|\met|a{comman|
|00001220| 64 7d 20 74 6f 0a 25 20 | 62 65 20 61 20 70 6c 61 |d} to.% |be a pla|
|00001230| 69 6e 20 61 62 62 72 65 | 76 69 61 74 69 6f 6e 20 |in abbre|viation |
|00001240| 28 6e 6f 20 73 74 79 6c | 65 2d 63 68 61 6e 67 69 |(no styl|e-changi|
|00001250| 6e 67 29 2e 20 0a 0a 25 | 20 5c 73 65 63 74 69 6f |ng). ..%| \sectio|
|00001260| 6e 7b 49 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |n{Implem|entation|
|00001270| 7d 0a 25 20 5c 53 74 6f | 70 45 76 65 6e 74 75 61 |}.% \Sto|pEventua|
|00001280| 6c 6c 79 7b 7d 0a 0a 25 | 20 20 20 20 5c 62 65 67 |lly{}..%| \beg|
|00001290| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 4e |in{macro|code}.\N|
|000012a0| 65 65 64 73 54 65 58 46 | 6f 72 6d 61 74 7b 4c 61 |eedsTeXF|ormat{La|
|000012b0| 54 65 58 32 65 7d 0a 5c | 50 72 6f 76 69 64 65 73 |TeX2e}.\|Provides|
|000012c0| 50 61 63 6b 61 67 65 7b | 74 6d 61 63 72 6f 73 7d |Package{|tmacros}|
|000012d0| 5b 31 39 39 35 2f 30 31 | 2f 32 36 20 76 31 2e 30 |[1995/01|/26 v1.0|
|000012e0| 20 74 65 78 74 20 61 6e | 64 20 61 62 62 72 65 76 | text an|d abbrev|
|000012f0| 20 6d 61 63 72 6f 73 5d | 0a 5c 52 65 71 75 69 72 | macros]|.\Requir|
|00001300| 65 50 61 63 6b 61 67 65 | 7b 69 66 74 68 65 6e 7d |ePackage|{ifthen}|
|00001310| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00001320| 63 6f 64 65 7d 0a 0a 25 | 20 5c 62 65 67 69 6e 7b |code}..%| \begin{|
|00001330| 6d 61 63 72 6f 7d 7b 5c | 41 62 62 72 65 76 4c 6f |macro}{\|AbbrevLo|
|00001340| 6e 67 53 75 66 66 69 78 | 7d 0a 25 20 5c 62 65 67 |ngSuffix|}.% \beg|
|00001350| 69 6e 7b 6d 61 63 72 6f | 7d 7b 5c 41 62 62 72 65 |in{macro|}{\Abbre|
|00001360| 76 53 68 6f 72 74 53 75 | 66 66 69 78 7d 0a 25 20 |vShortSu|ffix}.% |
|00001370| 57 68 65 6e 20 61 20 74 | 65 78 74 20 6d 61 63 72 |When a t|ext macr|
|00001380| 6f 20 7c 5c 66 6f 6f 7c | 20 69 73 20 63 72 65 61 |o |\foo|| is crea|
|00001390| 74 65 64 2c 20 74 77 6f | 20 61 64 64 69 74 69 6f |ted, two| additio|
|000013a0| 6e 61 6c 20 63 6f 6d 6d | 61 6e 64 73 20 77 69 74 |nal comm|ands wit|
|000013b0| 68 20 74 68 65 73 65 0a | 25 20 73 75 66 66 69 78 |h these.|% suffix|
|000013c0| 65 73 20 61 72 65 20 61 | 6c 73 6f 20 63 72 65 61 |es are a|lso crea|
|000013d0| 74 65 64 2e 20 0a 25 20 | 20 20 20 5c 62 65 67 69 |ted. .% | \begi|
|000013e0| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 6e 65 |n{macroc|ode}.\ne|
|000013f0| 77 63 6f 6d 6d 61 6e 64 | 5c 41 62 62 72 65 76 4c |wcommand|\AbbrevL|
|00001400| 6f 6e 67 53 75 66 66 69 | 78 0a 20 20 7b 6c 6f 6e |ongSuffi|x. {lon|
|00001410| 67 7d 0a 5c 6e 65 77 63 | 6f 6d 6d 61 6e 64 5c 41 |g}.\newc|ommand\A|
|00001420| 62 62 72 65 76 53 68 6f | 72 74 53 75 66 66 69 78 |bbrevSho|rtSuffix|
|00001430| 0a 20 20 7b 73 68 6f 72 | 74 7d 0a 25 20 20 20 20 |. {shor|t}.% |
|00001440| 5c 65 6e 64 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |\end{mac|rocode}.|
|00001450| 25 20 5c 65 6e 64 7b 6d | 61 63 72 6f 7d 0a 25 20 |% \end{m|acro}.% |
|00001460| 5c 65 6e 64 7b 6d 61 63 | 72 6f 7d 0a 0a 25 20 5c |\end{mac|ro}..% \|
|00001470| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 4e 65 |begin{ma|cro}{\Ne|
|00001480| 77 54 65 78 74 4d 61 63 | 72 6f 7d 0a 25 20 49 20 |wTextMac|ro}.% I |
|00001490| 77 72 6f 74 65 20 73 6f | 6d 65 20 72 65 61 6c 6c |wrote so|me reall|
|000014a0| 79 20 6e 69 63 65 20 63 | 6f 64 65 20 74 6f 20 69 |y nice c|ode to i|
|000014b0| 6d 70 6c 65 6d 65 6e 74 | 20 74 65 78 74 20 6d 61 |mplement| text ma|
|000014c0| 63 72 6f 73 20 69 6e 20 | 32 2e 30 39 20 73 6f 6d |cros in |2.09 som|
|000014d0| 65 74 69 6d 65 20 65 61 | 72 6c 79 0a 25 20 69 6e |etime ea|rly.% in|
|000014e0| 20 27 39 34 20 77 68 65 | 6e 20 49 20 77 61 73 20 | '94 whe|n I was |
|000014f0| 62 65 67 69 6e 6e 69 6e | 67 20 77 6f 72 6b 20 6f |beginnin|g work o|
|00001500| 6e 20 6d 79 20 74 68 65 | 73 69 73 2e 20 20 49 20 |n my the|sis. I |
|00001510| 74 68 6f 75 67 68 74 20 | 77 68 61 74 20 49 27 64 |thought |what I'd|
|00001520| 20 64 6f 6e 65 20 77 61 | 73 0a 25 20 70 72 65 74 | done wa|s.% pret|
|00001530| 74 79 20 73 70 65 63 69 | 61 6c 2e 20 20 4f 6e 20 |ty speci|al. On |
|00001540| 44 65 63 65 6d 62 65 72 | 7e 32 2c 20 31 39 39 34 |December|~2, 1994|
|00001550| 2c 20 74 68 6f 75 67 68 | 2c 20 49 20 72 65 61 64 |, though|, I read|
|00001560| 20 43 68 72 69 73 20 61 | 6e 64 20 46 72 61 6e 6b | Chris a|nd Frank|
|00001570| 27 73 20 63 6f 64 65 0a | 25 20 66 6f 72 20 7c 5c |'s code.|% for |\|
|00001580| 44 65 63 6c 61 72 65 54 | 65 78 74 46 6f 6e 74 43 |DeclareT|extFontC|
|00001590| 6f 6d 6d 61 6e 64 7c 2c | 20 61 6e 64 20 49 20 68 |ommand|,| and I h|
|000015a0| 61 76 65 20 74 6f 20 61 | 64 6d 69 74 20 69 74 20 |ave to a|dmit it |
|000015b0| 73 75 72 65 20 70 75 74 | 20 74 68 65 20 63 68 6f |sure put| the cho|
|000015c0| 70 20 74 6f 0a 25 20 77 | 68 61 74 20 49 27 64 20 |p to.% w|hat I'd |
|000015d0| 64 6f 6e 65 2e 20 20 47 | 6f 20 62 6f 79 73 20 67 |done. G|o boys g|
|000015e0| 6f 2e 0a 0a 25 20 54 68 | 65 20 63 68 65 63 6b 69 |o...% Th|e checki|
|000015f0| 6e 67 20 74 68 61 74 20 | 7c 5c 73 77 40 73 6c 61 |ng that ||\sw@sla|
|00001600| 6e 74 7c 20 64 6f 65 73 | 20 66 6f 72 20 73 6b 69 |nt| does| for ski|
|00001610| 70 73 20 61 6e 64 20 70 | 65 6e 61 6c 74 69 65 73 |ps and p|enalties|
|00001620| 20 6f 6e 20 74 68 65 20 | 6c 69 73 74 20 69 73 0a | on the |list is.|
|00001630| 25 20 67 6f 69 6e 67 20 | 74 6f 20 62 65 20 73 75 |% going |to be su|
|00001640| 70 65 72 66 6c 75 6f 75 | 73 20 66 6f 72 20 74 68 |perfluou|s for th|
|00001650| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 49 |e applic|ations I|
|00001660| 20 69 6d 61 67 69 6e 65 | 2e 20 20 42 75 74 20 77 | imagine|. But w|
|00001670| 65 20 74 72 61 64 65 20 | 74 68 61 74 0a 25 20 66 |e trade |that.% f|
|00001680| 6f 72 20 61 20 6d 6f 72 | 65 20 66 6c 65 78 69 62 |or a mor|e flexib|
|00001690| 6c 65 20 6d 61 63 72 6f | 2e 20 0a 0a 25 20 57 65 |le macro|. ..% We|
|000016a0| 20 64 6f 6e 27 74 20 63 | 68 65 63 6b 20 66 6f 72 | don't c|heck for|
|000016b0| 20 7c 5c 6e 6f 63 6f 72 | 72 7c 20 6f 72 20 61 6e | |\nocor|r| or an|
|000016c0| 20 65 6d 70 74 79 20 62 | 6f 64 79 3b 20 20 6d 61 | empty b|ody; ma|
|000016d0| 79 62 65 20 77 65 20 73 | 68 6f 75 6c 64 20 77 68 |ybe we s|hould wh|
|000016e0| 65 6e 20 69 74 27 73 0a | 25 20 66 69 72 73 74 20 |en it's.|% first |
|000016f0| 64 65 66 69 6e 65 64 3b | 20 62 75 74 20 49 20 72 |defined;| but I r|
|00001700| 61 6e 20 69 6e 74 6f 20 | 72 65 61 6c 6c 79 20 68 |an into |really h|
|00001710| 61 69 72 79 20 65 78 70 | 61 6e 73 69 6f 6e 20 74 |airy exp|ansion t|
|00001720| 72 6f 75 62 6c 65 73 20 | 74 72 79 69 6e 67 20 74 |roubles |trying t|
|00001730| 6f 20 64 6f 0a 25 20 74 | 68 61 74 20 61 6e 64 20 |o do.% t|hat and |
|00001740| 75 73 65 20 7c 5c 44 65 | 63 6c 61 72 65 52 6f 62 |use |\De|clareRob|
|00001750| 75 73 74 43 6f 6d 6d 61 | 6e 64 7c 2e 20 0a 25 20 |ustComma|nd|. .% |
|00001760| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00001770| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|00001780| 5c 4e 65 77 54 65 78 74 | 4d 61 63 72 6f 5b 33 5d |\NewText|Macro[3]|
|00001790| 20 25 20 61 72 67 73 3a | 20 5c 63 73 6e 61 6d 65 | % args:| \csname|
|000017a0| 2c 20 73 74 79 6c 65 2c | 20 62 6f 64 79 0a 20 20 |, style,| body. |
|000017b0| 7b 5c 44 65 63 6c 61 72 | 65 52 6f 62 75 73 74 43 |{\Declar|eRobustC|
|000017c0| 6f 6d 6d 61 6e 64 23 31 | 25 0a 20 20 20 20 20 20 |ommand#1|%. |
|000017d0| 7b 5c 6c 65 61 76 65 76 | 6d 6f 64 65 0a 20 20 20 |{\leavev|mode. |
|000017e0| 20 20 20 7b 5c 6d 61 79 | 62 65 40 69 63 20 23 32 | {\may|be@ic #2|
|000017f0| 5c 61 66 74 65 72 67 72 | 6f 75 70 20 5c 6d 61 79 |\aftergr|oup \may|
|00001800| 62 65 40 69 63 40 73 70 | 61 63 65 20 23 33 7d 7d |be@ic@sp|ace #3}}|
|00001810| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00001820| 6f 63 6f 64 65 7d 0a 25 | 20 5c 65 6e 64 7b 6d 61 |ocode}.%| \end{ma|
|00001830| 63 72 6f 7d 0a 0a 25 20 | 5c 62 65 67 69 6e 7b 6d |cro}..% |\begin{m|
|00001840| 61 63 72 6f 7d 7b 5c 6d | 61 79 62 65 40 69 63 40 |acro}{\m|aybe@ic@|
|00001850| 73 70 61 63 65 7d 0a 25 | 20 5c 62 65 67 69 6e 7b |space}.%| \begin{|
|00001860| 6d 61 63 72 6f 7d 7b 5c | 6d 61 79 62 65 40 69 63 |macro}{\|maybe@ic|
|00001870| 40 73 70 61 63 65 40 7d | 0a 25 20 57 68 65 6e 20 |@space@}|.% When |
|00001880| 61 20 74 65 78 74 20 6d | 61 63 72 6f 20 69 73 20 |a text m|acro is |
|00001890| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 20 6c 65 |followed| by a le|
|000018a0| 74 74 65 72 20 6f 72 20 | 61 6e 79 20 74 6f 6b 65 |tter or |any toke|
|000018b0| 6e 20 69 6e 20 7c 5c 73 | 70 61 63 65 62 65 66 6f |n in |\s|pacebefo|
|000018c0| 72 65 6c 69 73 74 7c 2c | 0a 25 20 61 20 66 6f 6c |relist|,|.% a fol|
|000018d0| 6c 6f 77 69 6e 67 20 73 | 70 61 63 65 20 69 73 20 |lowing s|pace is |
|000018e0| 69 6e 73 65 72 74 65 64 | 2e 20 20 7c 5c 73 70 61 |inserted|. |\spa|
|000018f0| 63 65 62 65 66 6f 72 65 | 6c 69 73 74 7c 20 69 6e |cebefore|list| in|
|00001900| 69 74 69 61 6c 6c 79 20 | 63 6f 6e 74 61 69 6e 73 |itially |contains|
|00001910| 20 6f 6e 6c 79 0a 25 20 | 7c 28 7c 2c 20 7c 60 7c | only.% ||(|, |`||
|00001920| 2c 20 7c 5b 7c 2c 20 7c | 5c 26 7c 2c 20 7c 5c 24 |, |[|, ||\&|, |\$|
|00001930| 7c 2c 20 61 6e 64 20 7c | 5c 23 7c 2c 20 73 69 6e ||, and ||\#|, sin|
|00001940| 63 65 20 66 6f 72 20 61 | 6c 6c 20 6f 74 68 65 72 |ce for a|ll other|
|00001950| 73 20 49 20 63 61 6e 20 | 74 68 69 6e 6b 20 6f 66 |s I can |think of|
|00001960| 0a 25 20 73 69 74 75 61 | 74 69 6f 6e 73 20 69 6e |.% situa|tions in|
|00001970| 20 77 68 69 63 68 20 61 | 20 73 70 61 63 65 20 69 | which a| space i|
|00001980| 73 20 6e 6f 74 20 64 65 | 73 69 72 61 62 6c 65 2c |s not de|sirable,|
|00001990| 20 61 6e 64 20 69 74 20 | 69 73 20 6d 6f 72 65 20 | and it |is more |
|000019a0| 66 61 6d 69 6c 69 61 72 | 20 74 6f 0a 25 20 75 73 |familiar| to.% us|
|000019b0| 65 72 73 20 74 6f 20 75 | 73 65 20 5c 76 65 72 62 |ers to u|se \verb|
|000019c0| 2a 22 5c 20 22 20 6f 72 | 20 7c 7b 7d 7c 20 74 68 |*"\ " or| |{}| th|
|000019d0| 61 6e 20 7c 5c 75 6e 73 | 6b 69 70 7c 2e 20 20 49 |an |\uns|kip|. I|
|000019e0| 74 20 64 6f 65 73 20 6e | 6f 74 20 6d 61 6b 65 20 |t does n|ot make |
|000019f0| 73 65 6e 73 65 20 74 6f | 0a 25 20 68 61 76 65 20 |sense to|.% have |
|00001a00| 61 6e 79 20 69 74 65 6d | 20 69 6e 20 62 6f 74 68 |any item| in both|
|00001a10| 20 7c 5c 73 70 61 63 65 | 62 65 66 6f 72 65 6c 69 | |\space|beforeli|
|00001a20| 73 74 7c 20 61 6e 64 20 | 7c 5c 6e 6f 63 6f 72 72 |st| and ||\nocorr|
|00001a30| 6c 69 73 74 7c 2c 20 73 | 69 6e 63 65 20 61 6e 20 |list|, s|ince an |
|00001a40| 69 74 61 6c 69 63 0a 25 | 20 63 6f 72 72 65 63 74 |italic.%| correct|
|00001a50| 69 6f 6e 20 73 68 6f 75 | 6c 64 20 62 65 20 69 6e |ion shou|ld be in|
|00001a60| 73 65 72 74 65 64 20 62 | 65 66 6f 72 65 20 61 20 |serted b|efore a |
|00001a70| 73 70 61 63 65 2e 20 20 | 49 66 20 74 68 65 20 73 |space. |If the s|
|00001a80| 61 6d 65 20 74 6f 6b 65 | 6e 20 69 73 20 69 6e 20 |ame toke|n is in |
|00001a90| 62 6f 74 68 0a 25 20 6c | 69 73 74 73 20 62 79 20 |both.% l|ists by |
|00001aa0| 61 63 63 69 64 65 6e 74 | 2c 20 6e 65 69 74 68 65 |accident|, neithe|
|00001ab0| 72 20 61 20 63 6f 72 72 | 65 63 74 69 6f 6e 20 6f |r a corr|ection o|
|00001ac0| 72 20 73 70 61 63 65 20 | 77 69 6c 6c 20 62 65 20 |r space |will be |
|00001ad0| 69 6e 73 65 72 74 65 64 | 2c 20 69 2e 65 2e 2c 20 |inserted|, i.e., |
|00001ae0| 69 74 73 0a 25 20 70 72 | 65 73 65 6e 63 65 20 69 |its.% pr|esence i|
|00001af0| 6e 20 7c 5c 73 70 61 63 | 65 62 65 66 6f 72 65 6c |n |\spac|ebeforel|
|00001b00| 69 73 74 7c 20 77 69 6c | 6c 20 62 65 20 69 67 6e |ist| wil|l be ign|
|00001b10| 6f 72 65 64 2e 0a 0a 25 | 20 42 65 63 61 75 73 65 |ored...%| Because|
|00001b20| 20 77 65 20 77 61 6e 74 | 20 74 6f 20 70 6f 73 73 | we want| to poss|
|00001b30| 69 62 6c 79 20 69 6e 73 | 65 72 74 20 61 20 66 6f |ibly ins|ert a fo|
|00001b40| 6c 6c 6f 77 69 6e 67 20 | 73 70 61 63 65 2c 20 61 |llowing |space, a|
|00001b50| 20 73 69 6e 67 6c 65 20 | 6d 61 63 72 6f 0a 25 20 | single |macro.% |
|00001b60| 7c 5c 6d 61 79 62 65 40 | 69 63 7c 20 66 6f 72 20 ||\maybe@|ic| for |
|00001b70| 62 6f 74 68 20 73 69 64 | 65 73 20 6f 66 20 74 68 |both sid|es of th|
|00001b80| 65 20 74 65 78 74 20 69 | 73 20 6e 6f 20 6c 6f 6e |e text i|s no lon|
|00001b90| 67 65 72 20 73 75 66 66 | 69 63 69 65 6e 74 2e 20 |ger suff|icient. |
|00001ba0| 0a 25 20 20 20 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |.% \b|egin{mac|
|00001bb0| 72 6f 63 6f 64 65 7d 0a | 5c 6e 65 77 63 6f 6d 6d |rocode}.|\newcomm|
|00001bc0| 61 6e 64 5c 6d 61 79 62 | 65 40 69 63 40 73 70 61 |and\mayb|e@ic@spa|
|00001bd0| 63 65 0a 20 20 7b 5c 66 | 75 74 75 72 65 6c 65 74 |ce. {\f|uturelet|
|00001be0| 5c 40 6c 65 74 40 74 6f | 6b 65 6e 5c 6d 61 79 62 |\@let@to|ken\mayb|
|00001bf0| 65 40 69 63 40 73 70 61 | 63 65 40 7d 0a 25 20 20 |e@ic@spa|ce@}.% |
|00001c00| 20 20 5c 65 6e 64 7b 6d | 61 63 72 6f 63 6f 64 65 | \end{m|acrocode|
|00001c10| 7d 0a 25 20 54 68 65 20 | 72 65 61 73 6f 6e 20 77 |}.% The |reason w|
|00001c20| 65 20 63 61 6e 20 75 73 | 65 20 7c 5c 74 65 73 74 |e can us|e |\test|
|00001c30| 40 6e 65 78 74 7c 20 61 | 67 61 69 6e 20 69 73 20 |@next| a|gain is |
|00001c40| 74 68 61 74 20 61 6c 6c | 20 69 74 20 69 73 20 64 |that all| it is d|
|00001c50| 6f 69 6e 67 20 69 73 20 | 73 65 74 74 69 6e 67 0a |oing is |setting.|
|00001c60| 25 20 74 68 65 20 73 77 | 69 74 63 68 20 66 61 6c |% the sw|itch fal|
|00001c70| 73 65 20 69 66 20 7c 5c | 40 6c 65 74 40 74 6f 6b |se if |\|@let@tok|
|00001c80| 65 6e 7c 20 69 73 20 69 | 6e 20 74 68 65 20 6c 69 |en| is i|n the li|
|00001c90| 73 74 20 7c 5c 73 70 61 | 63 65 61 66 74 65 72 7c |st |\spa|ceafter||
|00001ca0| 2e 20 0a 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |. ..% \b|egin{mac|
|00001cb0| 72 6f 7d 7b 5c 74 6d 40 | 69 66 6e 65 77 66 6f 72 |ro}{\tm@|ifnewfor|
|00001cc0| 6d 61 74 7d 0a 25 20 48 | 65 72 65 20 69 73 20 77 |mat}.% H|ere is w|
|00001cd0| 68 65 72 65 20 61 20 6c | 69 74 74 6c 65 20 63 68 |here a l|ittle ch|
|00001ce0| 61 6e 67 65 20 6f 63 63 | 75 72 72 65 64 20 69 6e |ange occ|urred in|
|00001cf0| 20 74 68 65 20 44 65 63 | 65 6d 62 65 72 20 72 65 | the Dec|ember re|
|00001d00| 6c 65 61 73 65 3b 20 74 | 65 6d 70 6f 72 61 72 79 |lease; t|emporary|
|00001d10| 0a 25 20 76 61 72 69 61 | 62 6c 65 20 7c 5c 40 74 |.% varia|ble |\@t|
|00001d20| 65 6d 70 61 7c 20 62 65 | 63 61 6d 65 20 7c 5c 72 |empa| be|came |\r|
|00001d30| 65 73 65 72 76 65 64 40 | 61 7c 20 69 6e 20 7c 5c |eserved@|a| in |\|
|00001d40| 74 65 73 74 40 6e 65 78 | 74 7c 2e 20 20 46 6f 72 |test@nex|t|. For|
|00001d50| 20 74 68 65 20 6d 6f 6d | 65 6e 74 2c 20 77 65 0a | the mom|ent, we.|
|00001d60| 25 20 77 61 6e 74 20 74 | 6f 20 62 65 20 61 62 6c |% want t|o be abl|
|00001d70| 65 20 74 6f 20 77 6f 72 | 6b 20 77 69 74 68 20 62 |e to wor|k with b|
|00001d80| 6f 74 68 20 72 65 6c 65 | 61 73 65 73 2c 20 73 6f |oth rele|ases, so|
|00001d90| 20 77 65 20 64 65 66 69 | 6e 65 20 61 20 63 6f 6e | we defi|ne a con|
|00001da0| 64 69 74 69 6f 6e 61 6c | 2e 0a 25 20 20 20 20 5c |ditional|..% \|
|00001db0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00001dc0| 0a 5c 6e 65 77 63 6f 6d | 6d 61 6e 64 5c 74 6d 40 |.\newcom|mand\tm@|
|00001dd0| 69 66 6e 65 77 66 6f 72 | 6d 61 74 0a 20 20 7b 5c |ifnewfor|mat. {\|
|00001de0| 40 69 66 6c 40 74 40 72 | 5c 66 6d 74 76 65 72 73 |@ifl@t@r|\fmtvers|
|00001df0| 69 6f 6e 7b 31 39 39 34 | 2f 30 36 2f 30 31 7d 7d |ion{1994|/06/01}}|
|00001e00| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00001e10| 63 6f 64 65 7d 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |code}.% |\end{mac|
|00001e20| 72 6f 7d 0a 0a 25 20 4e | 6f 77 20 77 65 20 64 65 |ro}..% N|ow we de|
|00001e30| 66 69 6e 65 20 6f 6e 65 | 20 6f 72 20 74 68 65 20 |fine one| or the |
|00001e40| 6f 74 68 65 72 20 76 65 | 72 73 69 6f 6e 2c 20 64 |other ve|rsion, d|
|00001e50| 65 70 65 6e 64 69 6e 67 | 2e 0a 25 20 54 68 69 73 |epending|..% This|
|00001e60| 20 6d 61 63 72 6f 20 69 | 73 20 76 65 72 79 20 73 | macro i|s very s|
|00001e70| 69 6d 69 6c 61 72 20 74 | 6f 20 7c 5c 6d 61 79 62 |imilar t|o |\mayb|
|00001e80| 65 40 69 63 40 7c 2c 20 | 62 75 74 20 77 65 20 64 |e@ic@|, |but we d|
|00001e90| 6f 20 74 68 65 20 63 68 | 65 63 6b 69 6e 67 20 74 |o the ch|ecking t|
|00001ea0| 77 69 63 65 2c 0a 25 20 | 6f 6e 63 65 20 66 6f 72 |wice,.% |once for|
|00001eb0| 20 7c 5c 6e 6f 63 6f 72 | 72 6c 69 73 74 7c 20 61 | |\nocor|rlist| a|
|00001ec0| 6e 64 20 6f 6e 63 65 20 | 66 6f 72 20 7c 5c 73 70 |nd once |for |\sp|
|00001ed0| 61 63 65 62 65 66 6f 72 | 65 6c 69 73 74 7c 2e 20 |acebefor|elist|. |
|00001ee0| 20 57 65 20 73 6b 69 70 | 20 74 68 65 20 63 68 65 | We skip| the che|
|00001ef0| 63 6b 0a 25 20 74 68 72 | 6f 75 67 68 20 7c 5c 73 |ck.% thr|ough |\s|
|00001f00| 70 61 63 65 62 65 66 6f | 72 65 6c 69 73 74 7c 20 |pacebefo|relist| |
|00001f10| 69 66 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |if the f|ollowing|
|00001f20| 20 63 68 61 72 61 63 74 | 65 72 20 69 73 20 61 20 | charact|er is a |
|00001f30| 6c 65 74 74 65 72 20 28 | 69 2e 65 2e 2c 0a 25 20 |letter (|i.e.,.% |
|00001f40| 63 61 74 63 6f 64 65 20 | 6f 66 20 60 60 41 27 27 |catcode |of ``A''|
|00001f50| 29 3b 20 6f 74 68 65 72 | 77 69 73 65 2c 20 77 65 |); other|wise, we|
|00001f60| 27 64 20 68 61 76 65 20 | 74 6f 20 61 64 64 20 61 |'d have |to add a|
|00001f70| 6c 6c 20 74 68 65 20 6c | 65 74 74 65 72 73 20 74 |ll the l|etters t|
|00001f80| 6f 0a 25 20 7c 5c 73 70 | 61 63 65 62 65 66 6f 72 |o.% |\sp|acebefor|
|00001f90| 65 6c 69 73 74 7c 2e 20 | 20 0a 25 20 20 20 20 5c |elist|. | .% \|
|00001fa0| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 63 6f 64 65 7d |begin{ma|crocode}|
|00001fb0| 0a 5c 74 6d 40 69 66 6e | 65 77 66 6f 72 6d 61 74 |.\tm@ifn|ewformat|
|00001fc0| 0a 7b 5c 6e 65 77 63 6f | 6d 6d 61 6e 64 5c 6d 61 |.{\newco|mmand\ma|
|00001fd0| 79 62 65 40 69 63 40 73 | 70 61 63 65 40 20 20 20 |ybe@ic@s|pace@ |
|00001fe0| 20 20 20 20 20 20 20 20 | 20 20 25 20 69 66 6e 65 | | % ifne|
|00001ff0| 77 66 6f 72 6d 61 74 20 | 69 73 20 54 52 55 45 0a |wformat |is TRUE.|
|00002000| 20 20 7b 5c 69 66 64 69 | 6d 20 5c 66 6f 6e 74 64 | {\ifdi|m \fontd|
|00002010| 69 6d 65 6e 5c 40 6e 65 | 5c 66 6f 6e 74 3e 5c 7a |imen\@ne|\font>\z|
|00002020| 40 0a 20 20 5c 65 6c 73 | 65 0a 20 20 20 20 5c 40 |@. \els|e. \@|
|00002030| 74 65 6d 70 73 77 61 74 | 72 75 65 0a 20 20 20 20 |tempswat|rue. |
|00002040| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 40 74 66 |\expanda|fter\@tf|
|00002050| 6f 72 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 72 |or\expan|dafter\r|
|00002060| 65 73 65 72 76 65 64 40 | 61 5c 65 78 70 61 6e 64 |eserved@|a\expand|
|00002070| 61 66 74 65 72 3a 5c 65 | 78 70 61 6e 64 61 66 74 |after:\e|xpandaft|
|00002080| 65 72 3d 25 0a 20 20 20 | 20 20 20 20 20 5c 6e 6f |er=%. | \no|
|00002090| 63 6f 72 72 6c 69 73 74 | 0a 20 20 20 20 5c 64 6f |corrlist|. \do|
|000020a0| 20 5c 74 65 73 74 40 6e | 65 78 74 0a 20 20 20 20 | \test@n|ext. |
|000020b0| 5c 69 66 40 74 65 6d 70 | 73 77 61 20 0a 20 20 20 |\if@temp|swa . |
|000020c0| 20 20 20 5c 73 77 40 73 | 6c 61 6e 74 0a 20 20 20 | \sw@s|lant. |
|000020d0| 20 20 20 5c 69 66 63 61 | 74 5c 40 6c 65 74 40 74 | \ifca|t\@let@t|
|000020e0| 6f 6b 65 6e 20 41 5c 73 | 70 61 63 65 0a 20 20 20 |oken A\s|pace. |
|000020f0| 20 20 20 5c 65 6c 73 65 | 0a 20 20 20 20 20 20 20 | \else|. |
|00002100| 20 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 40 74 | \expand|after\@t|
|00002110| 66 6f 72 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c |for\expa|ndafter\|
|00002120| 72 65 73 65 72 76 65 64 | 40 61 5c 65 78 70 61 6e |reserved|@a\expan|
|00002130| 64 61 66 74 65 72 3a 5c | 65 78 70 61 6e 64 61 66 |dafter:\|expandaf|
|00002140| 74 65 72 3d 25 0a 20 20 | 20 20 20 20 20 20 20 20 |ter=%. | |
|00002150| 20 20 5c 73 70 61 63 65 | 62 65 66 6f 72 65 6c 69 | \space|beforeli|
|00002160| 73 74 0a 20 20 20 20 20 | 20 20 20 5c 64 6f 20 5c |st. | \do \|
|00002170| 74 65 73 74 40 6e 65 78 | 74 20 20 25 20 73 65 74 |test@nex|t % set|
|00002180| 73 20 73 77 69 74 63 68 | 20 66 61 6c 73 65 20 69 |s switch| false i|
|00002190| 66 20 77 65 20 77 61 6e | 74 20 61 20 73 70 61 63 |f we wan|t a spac|
|000021a0| 65 0a 20 20 20 20 20 20 | 20 20 5c 69 66 40 74 65 |e. | \if@te|
|000021b0| 6d 70 73 77 61 0a 20 20 | 20 20 20 20 20 20 5c 65 |mpswa. | \e|
|000021c0| 6c 73 65 5c 73 70 61 63 | 65 0a 20 20 20 20 20 20 |lse\spac|e. |
|000021d0| 20 20 5c 66 69 0a 20 20 | 20 20 20 20 5c 66 69 0a | \fi. | \fi.|
|000021e0| 20 20 20 20 5c 66 69 0a | 20 20 5c 66 69 7d 7d 0a | \fi.| \fi}}.|
|000021f0| 7b 5c 6e 65 77 63 6f 6d | 6d 61 6e 64 5c 6d 61 79 |{\newcom|mand\may|
|00002200| 62 65 40 69 63 40 73 70 | 61 63 65 40 20 20 20 20 |be@ic@sp|ace@ |
|00002210| 20 20 20 20 20 20 20 25 | 20 69 66 6e 65 77 66 6f | %| ifnewfo|
|00002220| 72 6d 61 74 20 69 73 20 | 46 41 4c 53 45 0a 20 20 |rmat is |FALSE. |
|00002230| 7b 5c 69 66 64 69 6d 20 | 5c 66 6f 6e 74 64 69 6d |{\ifdim |\fontdim|
|00002240| 65 6e 5c 40 6e 65 5c 66 | 6f 6e 74 3e 5c 7a 40 0a |en\@ne\f|ont>\z@.|
|00002250| 20 20 5c 65 6c 73 65 0a | 20 20 20 20 5c 40 74 65 | \else.| \@te|
|00002260| 6d 70 73 77 61 74 72 75 | 65 0a 20 20 20 20 5c 65 |mpswatru|e. \e|
|00002270| 78 70 61 6e 64 61 66 74 | 65 72 5c 40 74 66 6f 72 |xpandaft|er\@tfor|
|00002280| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 5c 40 74 65 |\expanda|fter\@te|
|00002290| 6d 70 61 5c 65 78 70 61 | 6e 64 61 66 74 65 72 3a |mpa\expa|ndafter:|
|000022a0| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 3d 25 0a 20 |\expanda|fter=%. |
|000022b0| 20 20 20 20 20 20 20 5c | 6e 6f 63 6f 72 72 6c 69 | \|nocorrli|
|000022c0| 73 74 0a 20 20 20 20 5c | 64 6f 20 5c 74 65 73 74 |st. \|do \test|
|000022d0| 40 6e 65 78 74 0a 20 20 | 20 20 5c 69 66 40 74 65 |@next. | \if@te|
|000022e0| 6d 70 73 77 61 20 0a 20 | 20 20 20 20 20 5c 73 77 |mpswa . | \sw|
|000022f0| 40 73 6c 61 6e 74 0a 20 | 20 20 20 20 20 5c 69 66 |@slant. | \if|
|00002300| 63 61 74 5c 40 6c 65 74 | 40 74 6f 6b 65 6e 20 41 |cat\@let|@token A|
|00002310| 5c 73 70 61 63 65 0a 20 | 20 20 20 20 20 5c 65 6c |\space. | \el|
|00002320| 73 65 0a 20 20 20 20 20 | 20 20 20 5c 65 78 70 61 |se. | \expa|
|00002330| 6e 64 61 66 74 65 72 5c | 40 74 66 6f 72 5c 65 78 |ndafter\|@tfor\ex|
|00002340| 70 61 6e 64 61 66 74 65 | 72 5c 40 74 65 6d 70 61 |pandafte|r\@tempa|
|00002350| 5c 65 78 70 61 6e 64 61 | 66 74 65 72 3a 5c 65 78 |\expanda|fter:\ex|
|00002360| 70 61 6e 64 61 66 74 65 | 72 3d 25 0a 20 20 20 20 |pandafte|r=%. |
|00002370| 20 20 20 20 20 20 20 20 | 5c 73 70 61 63 65 62 65 | |\spacebe|
|00002380| 66 6f 72 65 6c 69 73 74 | 0a 20 20 20 20 20 20 20 |forelist|. |
|00002390| 20 5c 64 6f 20 5c 74 65 | 73 74 40 6e 65 78 74 20 | \do \te|st@next |
|000023a0| 20 25 20 73 65 74 73 20 | 73 77 69 74 63 68 20 66 | % sets |switch f|
|000023b0| 61 6c 73 65 20 69 66 20 | 77 65 20 77 61 6e 74 20 |alse if |we want |
|000023c0| 61 20 73 70 61 63 65 0a | 20 20 20 20 20 20 20 20 |a space.| |
|000023d0| 5c 69 66 40 74 65 6d 70 | 73 77 61 0a 20 20 20 20 |\if@temp|swa. |
|000023e0| 20 20 20 20 5c 65 6c 73 | 65 5c 73 70 61 63 65 0a | \els|e\space.|
|000023f0| 20 20 20 20 20 20 20 20 | 5c 66 69 0a 20 20 20 20 | |\fi. |
|00002400| 20 20 5c 66 69 0a 20 20 | 20 20 5c 66 69 0a 20 20 | \fi. | \fi. |
|00002410| 5c 66 69 7d 7d 0a 25 20 | 20 20 20 5c 65 6e 64 7b |\fi}}.% | \end{|
|00002420| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 25 20 5c 65 6e |macrocod|e}.% \en|
|00002430| 64 7b 6d 61 63 72 6f 7d | 0a 25 20 5c 65 6e 64 7b |d{macro}|.% \end{|
|00002440| 6d 61 63 72 6f 7d 0a 0a | 25 20 5c 62 65 67 69 6e |macro}..|% \begin|
|00002450| 7b 6d 61 63 72 6f 7d 7b | 5c 73 70 61 63 65 62 65 |{macro}{|\spacebe|
|00002460| 66 6f 72 65 6c 69 73 74 | 7d 0a 25 20 50 75 74 20 |forelist|}.% Put |
|00002470| 74 68 65 73 65 20 69 6e | 20 74 68 65 20 6f 72 64 |these in| the ord|
|00002480| 65 72 20 6f 66 20 74 68 | 65 69 72 20 66 72 65 71 |er of th|eir freq|
|00002490| 75 65 6e 63 79 2e 20 0a | 25 20 53 6f 6d 65 74 68 |uency. .|% Someth|
|000024a0| 69 6e 67 20 74 6f 20 63 | 68 65 63 6b 3a 20 20 61 |ing to c|heck: a|
|000024b0| 72 65 20 74 68 65 73 65 | 20 67 6f 69 6e 67 20 74 |re these| going t|
|000024c0| 6f 20 62 65 20 74 68 65 | 20 43 48 41 52 41 43 54 |o be the| CHARACT|
|000024d0| 45 52 53 2c 20 6f 72 20 | 74 68 65 20 76 65 72 73 |ERS, or |the vers|
|000024e0| 69 6f 6e 73 0a 25 20 77 | 69 74 68 20 74 68 65 20 |ions.% w|ith the |
|000024f0| 73 70 65 63 69 61 6c 20 | 63 61 74 63 6f 64 65 73 |special |catcodes|
|00002500| 3f 20 20 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |? .% | \begin{|
|00002510| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 6e 65 77 63 |macrocod|e}.\newc|
|00002520| 6f 6d 6d 61 6e 64 5c 73 | 70 61 63 65 62 65 66 6f |ommand\s|pacebefo|
|00002530| 72 65 6c 69 73 74 0a 20 | 20 7b 28 60 5b 5c 26 5c |relist. | {(`[\&\|
|00002540| 24 5c 23 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |$\#}.% | \end{m|
|00002550| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|00002560| 7b 6d 61 63 72 6f 7d 0a | 0a 25 20 5c 62 65 67 69 |{macro}.|.% \begi|
|00002570| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 6e 65 77 61 62 62 |n{macro}|{\newabb|
|00002580| 72 65 76 7d 0a 25 20 54 | 68 69 73 20 63 6f 6d 6d |rev}.% T|his comm|
|00002590| 61 6e 64 20 64 65 66 69 | 6e 65 73 20 61 20 6e 65 |and defi|nes a ne|
|000025a0| 77 20 61 62 62 72 65 76 | 69 61 74 69 6f 6e 2e 20 |w abbrev|iation. |
|000025b0| 20 54 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 61 72 | The opt|ional ar|
|000025c0| 67 75 6d 65 6e 74 20 69 | 73 20 74 72 65 61 74 65 |gument i|s treate|
|000025d0| 64 20 61 73 0a 25 20 61 | 20 73 74 79 6c 65 2d 63 |d as.% a| style-c|
|000025e0| 68 61 6e 67 69 6e 67 20 | 63 6f 6d 6d 61 6e 64 2e |hanging |command.|
|000025f0| 20 20 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d | .% |\begin{m|
|00002600| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 6e 65 77 63 6f |acrocode|}.\newco|
|00002610| 6d 6d 61 6e 64 5c 6e 65 | 77 61 62 62 72 65 76 5b |mmand\ne|wabbrev[|
|00002620| 31 5d 5b 5d 20 25 20 6f | 61 72 67 3a 20 73 74 79 |1][] % o|arg: sty|
|00002630| 6c 65 0a 20 20 7b 5c 73 | 63 40 6e 65 77 61 62 62 |le. {\s|c@newabb|
|00002640| 72 65 76 7b 5c 4e 65 77 | 54 65 78 74 4d 61 63 72 |rev{\New|TextMacr|
|00002650| 6f 7d 7b 23 31 7d 7d 0a | 25 20 20 20 20 5c 65 6e |o}{#1}}.|% \en|
|00002660| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |d{macroc|ode}.% \|
|00002670| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 0a 25 20 5c 62 |end{macr|o}..% \b|
|00002680| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 52 65 73 |egin{mac|ro}{\Res|
|00002690| 65 74 41 62 62 72 65 76 | 73 7d 0a 25 20 45 61 63 |etAbbrev|s}.% Eac|
|000026a0| 68 20 74 69 6d 65 20 61 | 6e 20 61 62 62 72 65 76 |h time a|n abbrev|
|000026b0| 69 61 74 69 6f 6e 20 69 | 73 20 64 65 66 69 6e 65 |iation i|s define|
|000026c0| 64 2c 20 73 6f 6d 65 74 | 68 69 6e 67 20 77 69 6c |d, somet|hing wil|
|000026d0| 6c 20 62 65 20 61 64 64 | 65 64 20 74 6f 20 74 68 |l be add|ed to th|
|000026e0| 65 20 63 6f 6e 74 65 6e | 74 73 0a 25 20 6f 66 20 |e conten|ts.% of |
|000026f0| 74 68 69 73 20 63 6f 6d | 6d 61 6e 64 2e 0a 25 20 |this com|mand..% |
|00002700| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00002710| 6f 64 65 7d 0a 5c 6e 65 | 77 63 6f 6d 6d 61 6e 64 |ode}.\ne|wcommand|
|00002720| 5c 52 65 73 65 74 41 62 | 62 72 65 76 73 7b 7d 0a |\ResetAb|brevs{}.|
|00002730| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|00002740| 6f 64 65 7d 0a 25 20 5c | 65 6e 64 7b 6d 61 63 72 |ode}.% \|end{macr|
|00002750| 6f 7d 0a 0a 25 20 5c 62 | 65 67 69 6e 7b 6d 61 63 |o}..% \b|egin{mac|
|00002760| 72 6f 7d 7b 5c 6e 65 77 | 74 6f 6b 65 6e 73 7d 0a |ro}{\new|tokens}.|
|00002770| 25 20 48 65 72 65 27 73 | 20 61 20 73 69 6c 6c 79 |% Here's| a silly|
|00002780| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 61 6c 6c 6f | command| to allo|
|00002790| 63 61 74 65 20 6e 65 77 | 20 74 6f 6b 65 6e 20 72 |cate new| token r|
|000027a0| 65 67 69 73 74 65 72 73 | 20 77 69 74 68 6f 75 74 |egisters| without|
|000027b0| 20 73 74 65 70 70 69 6e | 67 20 6f 6e 0a 25 20 65 | steppin|g on.% e|
|000027c0| 78 69 73 74 69 6e 67 20 | 6e 61 6d 65 73 2e 20 20 |xisting |names. |
|000027d0| 7c 5c 6e 65 77 74 6f 6b | 65 6e 73 7c 20 73 68 6f ||\newtok|ens| sho|
|000027e0| 75 6c 64 20 64 65 66 69 | 6e 69 74 65 6c 79 20 62 |uld defi|nitely b|
|000027f0| 65 20 7c 6f 75 74 65 72 | 7c 2e 20 20 42 65 63 61 |e |outer||. Beca|
|00002800| 75 73 65 0a 25 20 7c 5c | 6e 65 77 74 6f 6b 73 7c |use.% |\|newtoks||
|00002810| 20 69 73 20 7c 6f 75 74 | 65 72 7c 2c 20 77 65 20 | is |out|er|, we |
|00002820| 68 61 76 65 20 74 6f 20 | 66 6f 6f 6c 20 7c 5c 64 |have to |fool |\d|
|00002830| 65 66 7c 20 69 6e 74 6f | 20 61 6c 6c 6f 77 69 6e |ef| into| allowin|
|00002840| 67 20 69 74 20 74 6f 20 | 62 65 20 69 6e 20 69 74 |g it to |be in it|
|00002850| 73 0a 25 20 61 72 67 75 | 6d 65 6e 74 20 62 79 20 |s.% argu|ment by |
|00002860| 75 73 69 6e 67 20 7c 5c | 63 73 6e 61 6d 65 7c 5c |using |\|csname|\|
|00002870| 6c 64 6f 74 73 7c 5c 65 | 6e 64 63 73 6e 61 6d 65 |ldots|\e|ndcsname|
|00002880| 7c 2e 20 0a 0a 25 20 7c | 5c 6e 65 77 74 6f 6b 65 ||. ..% ||\newtoke|
|00002890| 6e 73 7c 20 73 68 6f 75 | 6c 64 20 62 65 20 7c 5c |ns| shou|ld be |\|
|000028a0| 6f 75 74 65 72 7c 20 62 | 75 74 20 66 6f 72 20 74 |outer| b|ut for t|
|000028b0| 68 65 20 6d 6f 6d 65 6e | 74 20 74 68 61 74 27 73 |he momen|t that's|
|000028c0| 20 61 20 70 61 69 6e 20 | 62 65 63 61 75 73 65 20 | a pain |because |
|000028d0| 74 68 65 0a 25 20 73 63 | 68 6f 6c 61 72 20 70 61 |the.% sc|holar pa|
|000028e0| 63 6b 61 67 65 20 69 73 | 20 69 6e 20 70 69 65 63 |ckage is| in piec|
|000028f0| 65 73 2c 20 61 6e 64 20 | 79 6f 75 20 77 61 6e 74 |es, and |you want|
|00002900| 20 74 6f 20 62 65 20 61 | 62 6c 65 20 74 6f 20 6c | to be a|ble to l|
|00002910| 6f 61 64 20 6d 6f 72 65 | 20 74 68 61 6e 20 6f 6e |oad more| than on|
|00002920| 65 0a 25 20 70 69 65 63 | 65 2e 0a 25 20 20 20 20 |e.% piec|e..% |
|00002930| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00002940| 7d 0a 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b |}.\@ifun|defined{|
|00002950| 6e 65 77 74 6f 6b 65 6e | 73 7d 0a 20 20 20 20 7b |newtoken|s}. {|
|00002960| 5c 64 65 66 5c 6e 65 77 | 74 6f 6b 65 6e 73 23 31 |\def\new|tokens#1|
|00002970| 25 0a 20 20 20 20 20 20 | 7b 5c 40 69 66 64 65 66 |%. |{\@ifdef|
|00002980| 69 6e 61 62 6c 65 20 23 | 31 0a 20 20 20 20 20 20 |inable #|1. |
|00002990| 7b 5c 63 73 6e 61 6d 65 | 20 6e 65 77 74 6f 6b 73 |{\csname| newtoks|
|000029a0| 5c 65 6e 64 63 73 6e 61 | 6d 65 23 31 7d 7d 7d 0a |\endcsna|me#1}}}.|
|000029b0| 20 20 7b 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d | {}.% | \end{m|
|000029c0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 20 5c 65 6e 64 |acrocode|}.% \end|
|000029d0| 7b 6d 61 63 72 6f 7d 0a | 0a 25 20 5c 62 65 67 69 |{macro}.|.% \begi|
|000029e0| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 73 63 40 74 6f 6b |n{macro}|{\sc@tok|
|000029f0| 73 40 73 68 6f 72 74 63 | 6f 6d 7d 0a 25 20 5c 62 |s@shortc|om}.% \b|
|00002a00| 65 67 69 6e 7b 6d 61 63 | 72 6f 7d 7b 5c 73 63 40 |egin{mac|ro}{\sc@|
|00002a10| 74 6f 6b 73 40 70 6c 61 | 69 6e 63 6f 6d 7d 0a 25 |toks@pla|incom}.%|
|00002a20| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 7d 7b 5c | \begin{|macro}{\|
|00002a30| 73 63 40 74 6f 6b 73 40 | 6c 6f 6e 67 63 6f 6d 7d |sc@toks@|longcom}|
|00002a40| 0a 25 20 54 68 65 20 66 | 69 72 73 74 20 74 68 72 |.% The f|irst thr|
|00002a50| 65 65 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ee of th|e follow|
|00002a60| 69 6e 67 20 74 6f 6b 73 | 20 72 65 67 69 73 74 65 |ing toks| registe|
|00002a70| 72 73 20 77 69 6c 6c 20 | 65 78 70 61 6e 64 20 74 |rs will |expand t|
|00002a80| 6f 20 74 68 65 20 74 68 | 72 65 65 0a 25 20 7c 5c |o the th|ree.% |\|
|00002a90| 63 73 6e 61 6d 65 7c 73 | 20 77 65 20 61 72 65 20 |csname|s| we are |
|00002aa0| 67 6f 69 6e 67 20 74 6f | 20 64 65 66 69 6e 65 2e |going to| define.|
|00002ab0| 20 20 54 68 65 20 72 65 | 6d 61 69 6e 69 6e 67 20 | The re|maining |
|00002ac0| 74 77 6f 20 77 69 6c 6c | 20 62 65 20 75 73 65 64 |two will| be used|
|00002ad0| 20 6c 61 74 65 72 2e 0a | 25 20 20 20 20 5c 62 65 | later..|% \be|
|00002ae0| 67 69 6e 7b 6d 61 63 72 | 6f 63 6f 64 65 7d 0a 5c |gin{macr|ocode}.\|
|00002af0| 6e 65 77 74 6f 6b 65 6e | 73 5c 73 63 40 74 6f 6b |newtoken|s\sc@tok|
|00002b00| 73 40 73 68 6f 72 74 63 | 6f 6d 0a 5c 6e 65 77 74 |s@shortc|om.\newt|
|00002b10| 6f 6b 65 6e 73 5c 73 63 | 40 74 6f 6b 73 40 6c 6f |okens\sc|@toks@lo|
|00002b20| 6e 67 63 6f 6d 0a 5c 6e | 65 77 74 6f 6b 65 6e 73 |ngcom.\n|ewtokens|
|00002b30| 5c 73 63 40 74 6f 6b 73 | 40 70 6c 61 69 6e 63 6f |\sc@toks|@plainco|
|00002b40| 6d 0a 5c 40 69 66 75 6e | 64 65 66 69 6e 65 64 7b |m.\@ifun|defined{|
|00002b50| 73 63 40 74 6f 6b 73 40 | 61 7d 0a 20 20 20 20 7b |sc@toks@|a}. {|
|00002b60| 5c 6e 65 77 74 6f 6b 65 | 6e 73 5c 73 63 40 74 6f |\newtoke|ns\sc@to|
|00002b70| 6b 73 40 61 7d 0a 20 20 | 7b 7d 0a 5c 40 69 66 75 |ks@a}. |{}.\@ifu|
|00002b80| 6e 64 65 66 69 6e 65 64 | 7b 73 63 40 74 6f 6b 73 |ndefined|{sc@toks|
|00002b90| 40 62 7d 0a 20 20 20 20 | 7b 5c 6e 65 77 74 6f 6b |@b}. |{\newtok|
|00002ba0| 65 6e 73 5c 73 63 40 74 | 6f 6b 73 40 62 7d 0a 20 |ens\sc@t|oks@b}. |
|00002bb0| 20 7b 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 | {}.% | \end{ma|
|00002bc0| 63 72 6f 63 6f 64 65 7d | 0a 25 20 5c 65 6e 64 7b |crocode}|.% \end{|
|00002bd0| 6d 61 63 72 6f 7d 0a 25 | 20 5c 65 6e 64 7b 6d 61 |macro}.%| \end{ma|
|00002be0| 63 72 6f 7d 0a 25 20 5c | 65 6e 64 7b 6d 61 63 72 |cro}.% \|end{macr|
|00002bf0| 6f 7d 0a 0a 25 20 54 68 | 65 20 61 62 6f 76 65 20 |o}..% Th|e above |
|00002c00| 61 72 65 20 73 69 6d 70 | 6c 79 20 68 6f 6c 64 65 |are simp|ly holde|
|00002c10| 72 73 2c 20 74 6f 20 6b | 65 65 70 20 77 68 61 74 |rs, to k|eep what|
|00002c20| 27 73 20 69 6e 20 74 68 | 65 6d 20 66 72 6f 6d 20 |'s in th|em from |
|00002c30| 65 78 70 61 6e 64 69 6e | 67 20 75 6e 64 65 72 20 |expandin|g under |
|00002c40| 74 68 65 0a 25 20 7c 5c | 78 64 65 66 7c 20 62 65 |the.% |\|xdef| be|
|00002c50| 6c 6f 77 2e 20 20 49 20 | 74 72 69 65 64 20 7c 5c |low. I |tried |\|
|00002c60| 6e 6f 65 78 70 61 6e 64 | 7c 73 2c 20 77 68 69 63 |noexpand||s, whic|
|00002c70| 68 20 6d 69 67 68 74 20 | 68 61 76 65 20 62 65 65 |h might |have bee|
|00002c80| 6e 20 63 6c 65 61 72 65 | 72 2c 20 62 75 74 20 74 |n cleare|r, but t|
|00002c90| 6f 0a 25 20 6e 6f 20 61 | 76 61 69 6c 2e 20 20 57 |o.% no a|vail. W|
|00002ca0| 68 61 74 27 73 20 62 65 | 6c 6f 77 20 69 73 20 61 |hat's be|low is a|
|00002cb0| 20 70 61 69 6e 20 69 6e | 20 74 68 65 20 6e 65 63 | pain in| the nec|
|00002cc0| 6b 2c 20 62 75 74 20 69 | 74 20 77 6f 72 6b 73 2e |k, but i|t works.|
|00002cd0| 20 20 53 6f 6d 65 64 61 | 79 20 49 20 77 69 6c 6c | Someda|y I will|
|00002ce0| 0a 25 20 6d 61 6b 65 20 | 61 6e 6f 74 68 65 72 20 |.% make |another |
|00002cf0| 73 74 61 62 20 61 74 20 | 73 69 6d 70 6c 69 66 79 |stab at |simplify|
|00002d00| 69 6e 67 2e 20 0a 0a 25 | 20 5c 62 65 67 69 6e 7b |ing. ..%| \begin{|
|00002d10| 6d 61 63 72 6f 7d 7b 5c | 73 63 40 6e 65 77 61 62 |macro}{\|sc@newab|
|00002d20| 62 72 65 76 7d 0a 25 20 | 48 65 72 65 20 69 73 20 |brev}.% |Here is |
|00002d30| 74 68 65 20 6d 61 69 6e | 20 61 62 62 72 65 76 69 |the main| abbrevi|
|00002d40| 61 74 69 6f 6e 20 6d 61 | 6b 65 72 2e 20 20 54 68 |ation ma|ker. Th|
|00002d50| 65 20 66 69 72 73 74 20 | 61 72 67 75 6d 65 6e 74 |e first |argument|
|00002d60| 20 69 73 20 61 6e 6f 74 | 68 65 72 20 6d 61 63 72 | is anot|her macr|
|00002d70| 6f 20 74 6f 0a 25 20 63 | 61 6c 6c 2e 20 20 49 74 |o to.% c|all. It|
|00002d80| 27 73 20 74 68 65 72 65 | 20 74 6f 20 6d 61 6b 65 |'s there| to make|
|00002d90| 20 74 68 69 6e 67 73 20 | 73 69 6d 70 6c 65 72 2c | things |simpler,|
|00002da0| 20 62 75 74 20 61 6c 73 | 6f 20 62 65 63 61 75 73 | but als|o becaus|
|00002db0| 65 20 49 20 68 61 76 65 | 20 69 6e 20 6d 69 6e 64 |e I have| in mind|
|00002dc0| 0a 25 20 61 6c 74 65 72 | 6e 61 74 69 76 65 73 20 |.% alter|natives |
|00002dd0| 74 6f 20 7c 5c 4e 65 77 | 54 65 78 74 4d 61 63 72 |to |\New|TextMacr|
|00002de0| 6f 7c 20 74 68 61 74 20 | 61 72 65 20 6e 6f 74 20 |o| that |are not |
|00002df0| 79 65 74 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |yet impl|emented.|
|00002e00| 20 20 54 68 65 20 73 65 | 63 6f 6e 64 0a 25 20 61 | The se|cond.% a|
|00002e10| 72 67 75 6d 65 6e 74 20 | 69 73 20 65 78 70 65 63 |rgument |is expec|
|00002e20| 74 65 64 20 74 6f 20 62 | 65 20 61 20 73 74 79 6c |ted to b|e a styl|
|00002e30| 65 20 63 6f 6d 6d 61 6e | 64 2c 20 73 75 63 68 20 |e comman|d, such |
|00002e40| 61 73 20 7c 5c 65 6d 7c | 2c 20 6f 72 20 65 6d 70 |as |\em||, or emp|
|00002e50| 74 79 2e 20 20 54 68 65 | 0a 25 20 74 68 69 72 64 |ty. The|.% third|
|00002e60| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 74 68 65 | argumen|t is the|
|00002e70| 20 6d 61 69 6e 20 6d 61 | 63 72 6f 20 6e 61 6d 65 | main ma|cro name|
|00002e80| 20 74 6f 20 62 65 20 63 | 72 65 61 74 65 64 2c 20 | to be c|reated, |
|00002e90| 61 6e 64 20 74 68 65 20 | 66 6f 75 72 74 68 20 61 |and the |fourth a|
|00002ea0| 6e 64 20 66 69 66 74 68 | 0a 25 20 61 72 67 75 6d |nd fifth|.% argum|
|00002eb0| 65 6e 74 73 20 61 72 65 | 20 74 68 65 20 69 6e 69 |ents are| the ini|
|00002ec0| 74 69 61 6c 20 65 78 70 | 61 6e 73 69 6f 6e 2c 20 |tial exp|ansion, |
|00002ed0| 61 6e 64 20 74 68 65 20 | 73 75 62 73 65 71 75 65 |and the |subseque|
|00002ee0| 6e 74 20 65 78 70 61 6e | 73 69 6f 6e 20 66 6f 72 |nt expan|sion for|
|00002ef0| 20 74 68 65 0a 25 20 6d | 61 63 72 6f 2e 20 0a 0a | the.% m|acro. ..|
|00002f00| 25 20 54 68 65 20 66 69 | 72 73 74 20 70 61 72 74 |% The fi|rst part|
|00002f10| 20 73 65 74 73 20 6f 75 | 72 20 74 68 72 65 65 20 | sets ou|r three |
|00002f20| 74 6f 6b 73 20 76 61 72 | 69 61 62 6c 65 73 20 74 |toks var|iables t|
|00002f30| 6f 20 74 68 65 20 74 68 | 72 65 65 20 63 6f 6d 6d |o the th|ree comm|
|00002f40| 61 6e 64 20 73 65 71 75 | 65 6e 63 65 73 0a 25 20 |and sequ|ences.% |
|00002f50| 74 68 61 74 20 74 68 69 | 73 20 6d 61 63 72 6f 20 |that thi|s macro |
|00002f60| 69 73 20 67 6f 69 6e 67 | 20 74 6f 20 64 65 66 69 |is going| to defi|
|00002f70| 6e 65 2e 20 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |ne. .% | \begin|
|00002f80| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 6e 65 77 |{macroco|de}.\new|
|00002f90| 63 6f 6d 6d 61 6e 64 5c | 73 63 40 6e 65 77 61 62 |command\|sc@newab|
|00002fa0| 62 72 65 76 5b 35 5d 20 | 25 20 61 72 67 73 3a 20 |brev[5] |% args: |
|00002fb0| 6d 61 6b 65 72 20 73 74 | 79 6c 65 20 6e 61 6d 65 |maker st|yle name|
|00002fc0| 20 6c 6f 6e 67 74 65 78 | 74 20 73 68 6f 72 74 74 | longtex|t shortt|
|00002fd0| 65 78 74 0a 20 20 7b 5c | 73 63 40 74 6f 6b 73 40 |ext. {\|sc@toks@|
|00002fe0| 73 68 6f 72 74 63 6f 6d | 3d 5c 65 78 70 61 6e 64 |shortcom|=\expand|
|00002ff0| 61 66 74 65 72 7b 5c 63 | 73 6e 61 6d 65 20 23 33 |after{\c|sname #3|
|00003000| 5c 41 62 62 72 65 76 53 | 68 6f 72 74 53 75 66 66 |\AbbrevS|hortSuff|
|00003010| 69 78 5c 65 6e 64 63 73 | 6e 61 6d 65 7d 0a 20 20 |ix\endcs|name}. |
|00003020| 5c 73 63 40 74 6f 6b 73 | 40 6c 6f 6e 67 63 6f 6d |\sc@toks|@longcom|
|00003030| 3d 5c 65 78 70 61 6e 64 | 61 66 74 65 72 7b 5c 63 |=\expand|after{\c|
|00003040| 73 6e 61 6d 65 20 23 33 | 5c 41 62 62 72 65 76 4c |sname #3|\AbbrevL|
|00003050| 6f 6e 67 53 75 66 66 69 | 78 5c 65 6e 64 63 73 6e |ongSuffi|x\endcsn|
|00003060| 61 6d 65 7d 0a 20 20 5c | 73 63 40 74 6f 6b 73 40 |ame}. \|sc@toks@|
|00003070| 70 6c 61 69 6e 63 6f 6d | 3d 5c 65 78 70 61 6e 64 |plaincom|=\expand|
|00003080| 61 66 74 65 72 7b 5c 63 | 73 6e 61 6d 65 20 23 33 |after{\c|sname #3|
|00003090| 5c 65 6e 64 63 73 6e 61 | 6d 65 7d 0a 25 20 20 20 |\endcsna|me}.% |
|000030a0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|000030b0| 0a 25 20 54 68 65 20 6e | 65 78 74 20 74 77 6f 20 |.% The n|ext two |
|000030c0| 6c 69 6e 65 73 20 64 65 | 66 69 6e 65 20 74 68 65 |lines de|fine the|
|000030d0| 20 65 78 70 6c 69 63 69 | 74 6c 79 20 6c 6f 6e 67 | explici|tly long|
|000030e0| 20 76 65 72 73 69 6f 6e | 20 61 6e 64 20 74 68 65 | version| and the|
|000030f0| 20 65 78 70 6c 69 63 69 | 74 6c 79 0a 25 20 73 68 | explici|tly.% sh|
|00003100| 6f 72 74 20 76 65 72 73 | 69 6f 6e 2e 0a 25 20 20 |ort vers|ion..% |
|00003110| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00003120| 64 65 7d 0a 20 20 5c 65 | 78 70 61 6e 64 61 66 74 |de}. \e|xpandaft|
|00003130| 65 72 23 31 5c 74 68 65 | 5c 73 63 40 74 6f 6b 73 |er#1\the|\sc@toks|
|00003140| 40 6c 6f 6e 67 63 6f 6d | 7b 23 32 7d 7b 23 34 7d |@longcom|{#2}{#4}|
|00003150| 0a 20 20 5c 65 78 70 61 | 6e 64 61 66 74 65 72 23 |. \expa|ndafter#|
|00003160| 31 5c 74 68 65 5c 73 63 | 40 74 6f 6b 73 40 73 68 |1\the\sc|@toks@sh|
|00003170| 6f 72 74 63 6f 6d 7b 23 | 32 7d 7b 23 35 7d 0a 25 |ortcom{#|2}{#5}.%|
|00003180| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00003190| 64 65 7d 0a 25 20 20 50 | 65 72 68 61 70 73 20 74 |de}.% P|erhaps t|
|000031a0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 73 68 6f |he follo|wing sho|
|000031b0| 75 6c 64 20 62 65 20 73 | 65 6e 74 20 6f 75 74 20 |uld be s|ent out |
|000031c0| 74 6f 20 69 74 73 20 6f | 77 6e 20 6d 61 63 72 6f |to its o|wn macro|
|000031d0| 2e 20 20 57 6f 75 6c 64 | 20 74 68 61 74 0a 25 20 |. Would| that.% |
|000031e0| 20 73 69 6d 70 6c 69 66 | 79 20 74 68 69 73 20 6b | simplif|y this k|
|000031f0| 6e 6f 74 74 79 20 65 78 | 70 61 6e 73 69 6f 6e 20 |notty ex|pansion |
|00003200| 70 72 6f 62 6c 65 6d 3f | 20 20 41 6e 79 77 61 79 |problem?| Anyway|
|00003210| 2c 20 74 68 65 20 73 74 | 72 61 74 65 67 79 20 69 |, the st|rategy i|
|00003220| 73 20 74 6f 20 64 65 66 | 69 6e 65 0a 25 20 20 74 |s to def|ine.% t|
|00003230| 68 65 20 6d 61 69 6e 20 | 63 6f 6d 6d 61 6e 64 20 |he main |command |
|00003240| 74 6f 20 63 68 65 63 6b | 20 69 74 73 20 6f 77 6e |to check| its own|
|00003250| 20 72 65 73 65 72 76 65 | 64 20 62 6f 6f 6c 65 61 | reserve|d boolea|
|00003260| 6e 20 76 61 72 69 61 62 | 6c 65 20 74 6f 20 73 65 |n variab|le to se|
|00003270| 65 20 77 68 65 74 68 65 | 72 0a 25 20 20 74 68 69 |e whethe|r.% thi|
|00003280| 73 20 6d 61 63 72 6f 20 | 68 61 73 20 62 65 65 6e |s macro |has been|
|00003290| 20 63 61 6c 6c 65 64 20 | 62 65 66 6f 72 65 2c 20 | called |before, |
|000032a0| 61 6e 64 20 65 78 70 61 | 6e 64 20 74 6f 20 64 69 |and expa|nd to di|
|000032b0| 66 66 65 72 65 6e 74 20 | 74 68 69 6e 67 73 20 61 |fferent |things a|
|000032c0| 63 63 6f 72 64 69 6e 67 | 0a 25 20 20 74 6f 20 69 |ccording|.% to i|
|000032d0| 74 73 20 76 61 6c 75 65 | 2e 20 20 0a 25 20 20 20 |ts value|. .% |
|000032e0| 20 5c 62 65 67 69 6e 7b | 6d 61 63 72 6f 63 6f 64 | \begin{|macrocod|
|000032f0| 65 7d 0a 20 20 5c 6e 65 | 77 62 6f 6f 6c 65 61 6e |e}. \ne|wboolean|
|00003300| 7b 23 33 20 6d 65 6e 74 | 69 6f 6e 65 64 7d 0a 25 |{#3 ment|ioned}.%|
|00003310| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00003320| 64 65 7d 0a 25 20 54 68 | 69 73 20 6e 65 78 74 20 |de}.% Th|is next |
|00003330| 6c 69 6e 65 20 69 73 20 | 61 20 6c 6f 63 61 6c 20 |line is |a local |
|00003340| 63 68 61 6e 67 65 3b 20 | 73 68 6f 75 6c 64 20 69 |change; |should i|
|00003350| 74 20 62 65 20 67 6c 6f | 62 61 6c 3f 20 0a 25 20 |t be glo|bal? .% |
|00003360| 20 20 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 63 | \begi|n{macroc|
|00003370| 6f 64 65 7d 0a 20 20 5c | 61 64 64 74 6f 40 6d 61 |ode}. \|addto@ma|
|00003380| 63 72 6f 5c 52 65 73 65 | 74 41 62 62 72 65 76 73 |cro\Rese|tAbbrevs|
|00003390| 7b 5c 73 65 74 62 6f 6f | 6c 65 61 6e 7b 23 33 20 |{\setboo|lean{#3 |
|000033a0| 6d 65 6e 74 69 6f 6e 65 | 64 7d 7b 66 61 6c 73 65 |mentione|d}{false|
|000033b0| 7d 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |}}.% |\end{mac|
|000033c0| 72 6f 63 6f 64 65 7d 0a | 25 20 48 65 72 65 27 73 |rocode}.|% Here's|
|000033d0| 20 74 68 65 20 72 65 61 | 6c 20 73 63 72 65 77 79 | the rea|l screwy|
|000033e0| 20 70 61 72 74 2e 20 20 | 54 6f 20 67 65 74 20 74 | part. |To get t|
|000033f0| 68 65 20 65 78 70 61 6e | 73 69 6f 6e 20 72 69 67 |he expan|sion rig|
|00003400| 68 74 2c 20 49 20 70 75 | 74 20 74 77 6f 0a 25 20 |ht, I pu|t two.% |
|00003410| 6c 69 6e 65 73 20 6f 66 | 20 63 6f 64 65 20 69 6e |lines of| code in|
|00003420| 74 6f 20 74 6f 6b 73 20 | 72 65 67 69 73 74 65 72 |to toks |register|
|00003430| 73 2e 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |s..% |\begin{m|
|00003440| 61 63 72 6f 63 6f 64 65 | 7d 0a 20 20 5c 73 63 40 |acrocode|}. \sc@|
|00003450| 74 6f 6b 73 40 61 3d 7b | 5c 69 66 74 68 65 6e 65 |toks@a={|\ifthene|
|00003460| 6c 73 65 7b 5c 62 6f 6f | 6c 65 61 6e 7b 23 33 20 |lse{\boo|lean{#3 |
|00003470| 6d 65 6e 74 69 6f 6e 65 | 64 7d 7d 7d 0a 20 20 5c |mentione|d}}}. \|
|00003480| 73 63 40 74 6f 6b 73 40 | 62 3d 7b 5c 73 65 74 62 |sc@toks@|b={\setb|
|00003490| 6f 6f 6c 65 61 6e 7b 23 | 33 20 6d 65 6e 74 69 6f |oolean{#|3 mentio|
|000034a0| 6e 65 64 7d 7b 74 72 75 | 65 7d 7d 0a 25 20 20 20 |ned}{tru|e}}.% |
|000034b0| 20 5c 65 6e 64 7b 6d 61 | 63 72 6f 63 6f 64 65 7d | \end{ma|crocode}|
|000034c0| 0a 25 20 41 6e 64 20 74 | 68 65 6e 20 49 20 75 73 |.% And t|hen I us|
|000034d0| 65 20 74 68 65 6d 20 68 | 65 72 65 2e 20 20 54 68 |e them h|ere. Th|
|000034e0| 69 73 20 63 6f 64 65 20 | 64 65 66 69 6e 65 73 20 |is code |defines |
|000034f0| 74 68 65 20 6d 61 69 6e | 20 61 62 62 72 65 76 69 |the main| abbrevi|
|00003500| 61 74 69 6f 6e 20 6d 61 | 63 72 6f 20 74 6f 20 61 |ation ma|cro to a|
|00003510| 0a 25 20 73 69 6d 70 6c | 65 20 7c 5c 69 66 74 68 |.% simpl|e |\ifth|
|00003520| 65 6e 65 6c 73 65 7c 2e | 20 20 54 68 65 20 65 78 |enelse|.| The ex|
|00003530| 70 61 6e 64 65 64 20 63 | 6f 64 65 20 69 73 20 67 |panded c|ode is g|
|00003540| 69 76 65 6e 20 69 6e 20 | 74 68 65 20 63 6f 6d 6d |iven in |the comm|
|00003550| 65 6e 74 73 2e 0a 25 20 | 20 20 20 5c 62 65 67 69 |ents..% | \begi|
|00003560| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 20 20 5c |n{macroc|ode}. \|
|00003570| 65 78 70 61 6e 64 61 66 | 74 65 72 5c 40 69 66 64 |expandaf|ter\@ifd|
|00003580| 65 66 69 6e 61 62 6c 65 | 5c 74 68 65 5c 73 63 40 |efinable|\the\sc@|
|00003590| 74 6f 6b 73 40 70 6c 61 | 69 6e 63 6f 6d 0a 20 20 |toks@pla|incom. |
|000035a0| 20 20 7b 5c 65 78 70 61 | 6e 64 61 66 74 65 72 5c | {\expa|ndafter\|
|000035b0| 78 64 65 66 5c 74 68 65 | 5c 73 63 40 74 6f 6b 73 |xdef\the|\sc@toks|
|000035c0| 40 70 6c 61 69 6e 63 6f | 6d 0a 20 20 20 20 20 20 |@plainco|m. |
|000035d0| 7b 5c 74 68 65 5c 73 63 | 40 74 6f 6b 73 40 61 25 |{\the\sc|@toks@a%|
|000035e0| 20 49 2e 45 2e 3a 20 20 | 7b 5c 69 66 74 68 65 6e | I.E.: |{\ifthen|
|000035f0| 65 6c 73 65 7b 5c 62 6f | 6f 6c 65 61 6e 7b 23 33 |else{\bo|olean{#3|
|00003600| 20 6d 65 6e 74 69 6f 6e | 65 64 7d 7d 7d 0a 20 20 | mention|ed}}}. |
|00003610| 20 20 20 20 20 20 20 20 | 7b 5c 74 68 65 5c 73 63 | |{\the\sc|
|00003620| 40 74 6f 6b 73 40 73 68 | 6f 72 74 63 6f 6d 7d 0a |@toks@sh|ortcom}.|
|00003630| 20 20 20 20 20 20 20 20 | 7b 5c 74 68 65 5c 73 63 | |{\the\sc|
|00003640| 40 74 6f 6b 73 40 62 25 | 20 49 2e 45 2e 3a 7b 5c |@toks@b%| I.E.:{\|
|00003650| 73 65 74 62 6f 6f 6c 65 | 61 6e 7b 23 33 20 6d 65 |setboole|an{#3 me|
|00003660| 6e 74 69 6f 6e 65 64 7d | 7b 74 72 75 65 7d 7d 0a |ntioned}|{true}}.|
|00003670| 20 20 20 20 20 20 09 5c | 74 68 65 5c 73 63 40 74 | .\|the\sc@t|
|00003680| 6f 6b 73 40 6c 6f 6e 67 | 63 6f 6d 7d 7d 7d 7d 0a |oks@long|com}}}}.|
|00003690| 25 20 20 20 20 5c 65 6e | 64 7b 6d 61 63 72 6f 63 |% \en|d{macroc|
|000036a0| 6f 64 65 7d 0a 25 20 54 | 68 65 20 7c 5c 63 73 6e |ode}.% T|he |\csn|
|000036b0| 61 6d 65 7c 73 20 28 65 | 69 74 68 65 72 20 7c 5c |ame|s (e|ither |\|
|000036c0| 66 6f 6f 6c 6f 6e 67 7c | 20 6f 72 20 7c 5c 66 6f |foolong|| or |\fo|
|000036d0| 6f 73 68 6f 72 74 7c 29 | 20 5c 65 6d 70 68 7b 6d |oshort|)| \emph{m|
|000036e0| 75 73 74 7d 20 62 65 20 | 74 68 65 20 76 65 72 79 |ust} be |the very|
|000036f0| 0a 25 20 6c 61 73 74 20 | 74 68 69 6e 67 20 74 6f |.% last |thing to|
|00003700| 20 6f 63 63 75 72 20 69 | 6e 20 74 68 65 20 64 65 | occur i|n the de|
|00003710| 66 69 6e 69 74 69 6f 6e | 73 2c 20 6f 72 20 74 68 |finition|s, or th|
|00003720| 65 20 7c 5c 66 75 74 75 | 72 65 6c 65 74 7c 20 74 |e |\futu|relet| t|
|00003730| 68 61 74 20 63 68 65 63 | 6b 73 0a 25 20 66 6f 6c |hat chec|ks.% fol|
|00003740| 6c 6f 77 69 6e 67 20 73 | 70 61 63 69 6e 67 20 69 |lowing s|pacing i|
|00003750| 6e 20 7c 5c 4e 65 77 54 | 65 78 74 4d 61 63 72 6f |n |\NewT|extMacro|
|00003760| 7c 20 77 69 6c 6c 20 62 | 72 65 61 6b 2e 20 20 4e || will b|reak. N|
|00003770| 6f 20 73 70 61 63 65 20 | 6d 75 73 74 20 73 6e 65 |o space |must sne|
|00003780| 61 6b 20 69 6e 74 6f 0a | 25 20 74 68 65 20 6d 61 |ak into.|% the ma|
|00003790| 63 72 6f 73 21 0a 25 20 | 5c 65 6e 64 7b 6d 61 63 |cros!.% |\end{mac|
|000037a0| 72 6f 7d 0a 0a 25 20 46 | 72 6f 6d 20 68 65 72 65 |ro}..% F|rom here|
|000037b0| 20 6f 6e 20 6f 75 74 2c | 20 77 65 20 61 72 65 20 | on out,| we are |
|000037c0| 6a 75 73 74 20 61 70 70 | 6c 79 69 6e 67 20 74 68 |just app|lying th|
|000037d0| 65 73 65 20 74 68 69 6e | 67 73 20 74 6f 20 6d 61 |ese thin|gs to ma|
|000037e0| 6b 65 20 61 20 66 65 77 | 20 75 73 65 72 0a 25 20 |ke a few| user.% |
|000037f0| 63 6f 6d 6d 61 6e 64 73 | 2e 20 20 0a 0a 25 20 5c |commands|. ..% \|
|00003800| 62 65 67 69 6e 7b 6d 61 | 63 72 6f 7d 7b 5c 6e 65 |begin{ma|cro}{\ne|
|00003810| 77 6e 61 6d 65 7d 0a 25 | 20 20 20 20 5c 62 65 67 |wname}.%| \beg|
|00003820| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 6e |in{macro|code}.\n|
|00003830| 65 77 63 6f 6d 6d 61 6e | 64 5c 6e 65 77 6e 61 6d |ewcomman|d\newnam|
|00003840| 65 0a 20 20 7b 5c 6e 65 | 77 61 62 62 72 65 76 5b |e. {\ne|wabbrev[|
|00003850| 5d 7d 0a 25 20 20 20 20 | 5c 65 6e 64 7b 6d 61 63 |]}.% |\end{mac|
|00003860| 72 6f 63 6f 64 65 7d 0a | 25 20 5c 65 6e 64 7b 6d |rocode}.|% \end{m|
|00003870| 61 63 72 6f 7d 0a 0a 25 | 20 5c 62 65 67 69 6e 7b |acro}..%| \begin{|
|00003880| 6d 61 63 72 6f 7d 7b 5c | 6e 65 77 77 6f 72 6b 7d |macro}{\|newwork}|
|00003890| 0a 25 20 5c 62 65 67 69 | 6e 7b 6d 61 63 72 6f 7d |.% \begi|n{macro}|
|000038a0| 7b 5c 73 63 40 6e 65 77 | 77 6f 72 6b 61 62 62 72 |{\sc@new|workabbr|
|000038b0| 65 76 7d 0a 25 20 20 20 | 20 5c 62 65 67 69 6e 7b |ev}.% | \begin{|
|000038c0| 6d 61 63 72 6f 63 6f 64 | 65 7d 0a 5c 6e 65 77 63 |macrocod|e}.\newc|
|000038d0| 6f 6d 6d 61 6e 64 5c 6e | 65 77 77 6f 72 6b 5b 32 |ommand\n|ewwork[2|
|000038e0| 5d 0a 20 20 7b 5c 40 69 | 66 6e 65 78 74 63 68 61 |]. {\@i|fnextcha|
|000038f0| 72 20 5b 20 0a 20 20 20 | 20 20 20 7b 5c 73 63 40 |r [ . | {\sc@|
|00003900| 6e 65 77 77 6f 72 6b 61 | 62 62 72 65 76 7b 23 31 |newworka|bbrev{#1|
|00003910| 7d 7b 23 32 7d 7d 0a 20 | 20 20 20 7b 5c 65 78 70 |}{#2}}. | {\exp|
|00003920| 61 6e 64 61 66 74 65 72 | 5c 4e 65 77 54 65 78 74 |andafter|\NewText|
|00003930| 4d 61 63 72 6f 5c 63 73 | 6e 61 6d 65 20 23 31 5c |Macro\cs|name #1\|
|00003940| 65 6e 64 63 73 6e 61 6d | 65 7b 5c 65 6d 7d 7b 23 |endcsnam|e{\em}{#|
|00003950| 32 7d 7d 7d 0a 0a 5c 6e | 65 77 63 6f 6d 6d 61 6e |2}}}..\n|ewcomman|
|00003960| 64 5c 73 63 40 6e 65 77 | 77 6f 72 6b 61 62 62 72 |d\sc@new|workabbr|
|00003970| 65 76 7b 7d 20 20 25 20 | 72 65 73 65 72 76 65 20 |ev{} % |reserve |
|00003980| 74 68 65 20 63 73 0a 5c | 64 65 66 5c 73 63 40 6e |the cs.\|def\sc@n|
|00003990| 65 77 77 6f 72 6b 61 62 | 62 72 65 76 23 31 23 32 |ewworkab|brev#1#2|
|000039a0| 5b 23 33 5d 0a 20 20 7b | 5c 73 63 40 6e 65 77 61 |[#3]. {|\sc@newa|
|000039b0| 62 62 72 65 76 7b 5c 4e | 65 77 54 65 78 74 4d 61 |bbrev{\N|ewTextMa|
|000039c0| 63 72 6f 7d 7b 5c 65 6d | 7d 7b 23 31 7d 7b 23 32 |cro}{\em|}{#1}{#2|
|000039d0| 7d 7b 23 33 7d 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |}{#3}}.%| \end|
|000039e0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 20 5c 65 |{macroco|de}.% \e|
|000039f0| 6e 64 7b 6d 61 63 72 6f | 7d 0a 25 20 5c 65 6e 64 |nd{macro|}.% \end|
|00003a00| 7b 6d 61 63 72 6f 7d 0a | 0a 25 20 5c 62 65 67 69 |{macro}.|.% \begi|
|00003a10| 6e 7b 6d 61 63 72 6f 7d | 7b 5c 6e 65 77 62 6f 6f |n{macro}|{\newboo|
|00003a20| 6b 7d 0a 25 20 20 20 20 | 5c 62 65 67 69 6e 7b 6d |k}.% |\begin{m|
|00003a30| 61 63 72 6f 63 6f 64 65 | 7d 0a 5c 6e 65 77 63 6f |acrocode|}.\newco|
|00003a40| 6d 6d 61 6e 64 5c 6e 65 | 77 62 6f 6f 6b 5b 32 5d |mmand\ne|wbook[2]|
|00003a50| 0a 20 20 20 7b 5c 6e 65 | 77 77 6f 72 6b 7b 23 31 |. {\ne|wwork{#1|
|00003a60| 7d 7b 23 32 7d 7d 20 0a | 25 20 20 20 20 5c 65 6e |}{#2}} .|% \en|
|00003a70| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 20 5c |d{macroc|ode}.% \|
|00003a80| 65 6e 64 7b 6d 61 63 72 | 6f 7d 0a 0a 25 20 5c 46 |end{macr|o}..% \F|
|00003a90| 69 6e 61 6c 65 0a 0a 5c | 65 6e 64 69 6e 70 75 74 |inale..\|endinput|
|00003aa0| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+